From: Krzysztof Hałasa <khc@pm.waw.pl>
Date: Fri, 9 May 2008 00:14:09 +0000 (+0200)
Subject: IXP4xx: clear IRQ stat in qmgr_disable_irq().
X-Git-Tag: v2.6.29-rc1~581^2~62^2~11
X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=ae2754a975694a3865788e303b741d0f616bc43a;p=linux-2.6-omap-h63xx.git

IXP4xx: clear IRQ stat in qmgr_disable_irq().

Signed-off-by: Krzysztof Hałasa <khc@pm.waw.pl>
---

diff --git a/arch/arm/mach-ixp4xx/ixp4xx_qmgr.c b/arch/arm/mach-ixp4xx/ixp4xx_qmgr.c
index 988bc1bbf4f..444c2ae21db 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);
 }