diff options
author | Krzysztof Hałasa <khc@pm.waw.pl> | 2008-05-09 02:14:09 +0200 |
---|---|---|
committer | Krzysztof Hałasa <khc@pm.waw.pl> | 2008-12-22 00:41:50 +0100 |
commit | ae2754a975694a3865788e303b741d0f616bc43a (patch) | |
tree | f015df6d98d6b728df67374cbcf9feba7307f0e0 /arch/arm/mach-ixp4xx | |
parent | IXP4xx: check for queue being empty in qmgr_release_queue(). (diff) | |
download | linux-ae2754a975694a3865788e303b741d0f616bc43a.tar.xz linux-ae2754a975694a3865788e303b741d0f616bc43a.zip |
IXP4xx: clear IRQ stat in qmgr_disable_irq().
Signed-off-by: Krzysztof Hałasa <khc@pm.waw.pl>
Diffstat (limited to 'arch/arm/mach-ixp4xx')
-rw-r--r-- | arch/arm/mach-ixp4xx/ixp4xx_qmgr.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-ixp4xx/ixp4xx_qmgr.c b/arch/arm/mach-ixp4xx/ixp4xx_qmgr.c index 988bc1bbf4f2..444c2ae21db4 100644 --- a/arch/arm/mach-ixp4xx/ixp4xx_qmgr.c +++ b/arch/arm/mach-ixp4xx/ixp4xx_qmgr.c @@ -70,6 +70,7 @@ void qmgr_disable_irq(unsigned int queue) spin_lock_irqsave(&qmgr_lock, flags); __raw_writel(__raw_readl(&qmgr_regs->irqen[0]) & ~(1 << queue), &qmgr_regs->irqen[0]); + __raw_writel(1 << queue, &qmgr_regs->irqstat[0]); /* clear */ spin_unlock_irqrestore(&qmgr_lock, flags); } |