IXP4xx: clear IRQ stat in qmgr_disable_irq().
authorKrzysztof Hałasa <khc@pm.waw.pl>
Fri, 9 May 2008 00:14:09 +0000 (02:14 +0200)
committerKrzysztof Hałasa <khc@pm.waw.pl>
Sun, 21 Dec 2008 23:41:50 +0000 (00:41 +0100)
Signed-off-by: Krzysztof Hałasa <khc@pm.waw.pl>
arch/arm/mach-ixp4xx/ixp4xx_qmgr.c

index 988bc1b..444c2ae 100644 (file)
@@ -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);
 }