summaryrefslogtreecommitdiffstats
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
parent3edcfb2937054fb546ecf3a8883675751db16c6f (diff)
downloadop-kernel-dev-ae2754a975694a3865788e303b741d0f616bc43a.zip
op-kernel-dev-ae2754a975694a3865788e303b741d0f616bc43a.tar.gz
IXP4xx: clear IRQ stat in qmgr_disable_irq().
Signed-off-by: Krzysztof Hałasa <khc@pm.waw.pl>
-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);
}
OpenPOWER on IntegriCloud