diff options
author | Krzysztof Hałasa <khc@pm.waw.pl> | 2008-05-08 20:14:09 -0400 |
---|---|---|
committer | Krzysztof Hałasa <khc@pm.waw.pl> | 2008-12-21 18:41:50 -0500 |
commit | ae2754a975694a3865788e303b741d0f616bc43a (patch) | |
tree | f015df6d98d6b728df67374cbcf9feba7307f0e0 /arch/arm/mach-ixp4xx | |
parent | 3edcfb2937054fb546ecf3a8883675751db16c6f (diff) |
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) | |||
70 | spin_lock_irqsave(&qmgr_lock, flags); | 70 | spin_lock_irqsave(&qmgr_lock, flags); |
71 | __raw_writel(__raw_readl(&qmgr_regs->irqen[0]) & ~(1 << queue), | 71 | __raw_writel(__raw_readl(&qmgr_regs->irqen[0]) & ~(1 << queue), |
72 | &qmgr_regs->irqen[0]); | 72 | &qmgr_regs->irqen[0]); |
73 | __raw_writel(1 << queue, &qmgr_regs->irqstat[0]); /* clear */ | ||
73 | spin_unlock_irqrestore(&qmgr_lock, flags); | 74 | spin_unlock_irqrestore(&qmgr_lock, flags); |
74 | } | 75 | } |
75 | 76 | ||