Commit ae2754a9 authored by Krzysztof Hałasa's avatar Krzysztof Hałasa

IXP4xx: clear IRQ stat in qmgr_disable_irq().

Signed-off-by: default avatarKrzysztof Hałasa <khc@pm.waw.pl>
parent 3edcfb29
......@@ -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);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment