projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4531dab
)
m68knommu: set flow handler for secondary interrupt controller of 5249
author
Greg Ungerer
<gerg@uclinux.org>
Wed, 9 Feb 2011 03:43:58 +0000
(13:43 +1000)
committer
Greg Ungerer
<gerg@uclinux.org>
Tue, 15 Feb 2011 23:43:46 +0000
(09:43 +1000)
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>
arch/m68knommu/platform/5249/intc2.c
patch
|
blob
|
history
diff --git
a/arch/m68knommu/platform/5249/intc2.c
b/arch/m68knommu/platform/5249/intc2.c
index d09d9da0453797bd6ec8843276150023113843c6..c5151f84659189c3703814f6035b70dfd2a2e4e0 100644
(file)
--- a/
arch/m68knommu/platform/5249/intc2.c
+++ b/
arch/m68knommu/platform/5249/intc2.c
@@
-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;
}