Skip to content

Commit

Permalink
m68knommu: set flow handler for secondary interrupt controller of 5249
Browse files Browse the repository at this point in the history
The secondary interrupt controller of the ColdFire 5249 code is not
setting the edge triggered flow handler. Set it.

Signed-off-by: Greg Ungerer <gerg@uclinux.org>
  • Loading branch information
Greg Ungerer committed Feb 15, 2011
1 parent 4531dab commit 86d306c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion arch/m68knommu/platform/5249/intc2.c
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,10 @@ static int __init mcf_intc2_init(void)
int irq;

/* GPIO interrupt sources */
for (irq = MCFINTC2_GPIOIRQ0; (irq <= MCFINTC2_GPIOIRQ7); irq++)
for (irq = MCFINTC2_GPIOIRQ0; (irq <= MCFINTC2_GPIOIRQ7); irq++) {
irq_desc[irq].chip = &intc2_irq_gpio_chip;
set_irq_handler(irq, handle_edge_irq);
}

return 0;
}
Expand Down

0 comments on commit 86d306c

Please sign in to comment.