aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorKrzysztof Hałasa <khc@pm.waw.pl>2008-05-09 02:14:09 +0200
committerKrzysztof Hałasa <khc@pm.waw.pl>2008-12-22 00:41:50 +0100
commitae2754a975694a3865788e303b741d0f616bc43a (patch)
treef015df6d98d6b728df67374cbcf9feba7307f0e0 /arch/arm
parent3edcfb2937054fb546ecf3a8883675751db16c6f (diff)
downloadkernel_samsung_tuna-ae2754a975694a3865788e303b741d0f616bc43a.zip
kernel_samsung_tuna-ae2754a975694a3865788e303b741d0f616bc43a.tar.gz
kernel_samsung_tuna-ae2754a975694a3865788e303b741d0f616bc43a.tar.bz2
IXP4xx: clear IRQ stat in qmgr_disable_irq().
Signed-off-by: Krzysztof Hałasa <khc@pm.waw.pl>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/mach-ixp4xx/ixp4xx_qmgr.c1
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 988bc1b..444c2ae 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);
}