提交 eb2d7188 编写于 作者: T Thomas Gleixner

arm: mxc: Use generic_handle_irq()

Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
上级 ce4ed256
......@@ -100,14 +100,9 @@ static void mxc_expio_irq_handler(u32 irq, struct irq_desc *desc)
expio_irq = MXC_BOARD_IRQ_START;
for (; int_valid != 0; int_valid >>= 1, expio_irq++) {
struct irq_desc *d;
if ((int_valid & 1) == 0)
continue;
d = irq_desc + expio_irq;
if (unlikely(!(d->handle_irq)))
pr_err("\nEXPIO irq: %d unhandled\n", expio_irq);
else
d->handle_irq(expio_irq, d);
generic_handle_irq(expio_irq);
}
desc->irq_data.chip->irq_ack(&desc->irq_data);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册