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 988bc1bbf4f22235a8a1a77908c14363ea6a0ab9..444c2ae21db4a910026dd5013ffce8f9213e679c 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);
 }