Commit eb2d7188 authored by Thomas Gleixner's avatar Thomas Gleixner

arm: mxc: Use generic_handle_irq()

Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent ce4ed256
...@@ -100,14 +100,9 @@ static void mxc_expio_irq_handler(u32 irq, struct irq_desc *desc) ...@@ -100,14 +100,9 @@ static void mxc_expio_irq_handler(u32 irq, struct irq_desc *desc)
expio_irq = MXC_BOARD_IRQ_START; expio_irq = MXC_BOARD_IRQ_START;
for (; int_valid != 0; int_valid >>= 1, expio_irq++) { for (; int_valid != 0; int_valid >>= 1, expio_irq++) {
struct irq_desc *d;
if ((int_valid & 1) == 0) if ((int_valid & 1) == 0)
continue; continue;
d = irq_desc + expio_irq; generic_handle_irq(expio_irq);
if (unlikely(!(d->handle_irq)))
pr_err("\nEXPIO irq: %d unhandled\n", expio_irq);
else
d->handle_irq(expio_irq, d);
} }
desc->irq_data.chip->irq_ack(&desc->irq_data); desc->irq_data.chip->irq_ack(&desc->irq_data);
......
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