diff options
author | Michael Hennerich <michael.hennerich@analog.com> | 2008-07-14 04:31:22 -0400 |
---|---|---|
committer | Bryan Wu <cooloney@kernel.org> | 2008-07-14 04:31:22 -0400 |
commit | 1f2d18690f4390ac4cf75648a5bc18fc07b3aef6 (patch) | |
tree | 78a5365e82012f738d2ec68d9b2da449b24c36b6 | |
parent | fc68911ee379bff429c2f8dfc0a4d3277eb193ec (diff) |
Blackfin arch: Fix Bug - GPIO interrupts not disabled; edge sensitive interrupt hang system.
- Implement irq_chip.enable and irq_chip.disable
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
-rw-r--r-- | arch/blackfin/mach-common/ints-priority.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/blackfin/mach-common/ints-priority.c b/arch/blackfin/mach-common/ints-priority.c index f5fd768022ea..64d746114e4b 100644 --- a/arch/blackfin/mach-common/ints-priority.c +++ b/arch/blackfin/mach-common/ints-priority.c | |||
@@ -459,6 +459,8 @@ static struct irq_chip bfin_gpio_irqchip = { | |||
459 | .mask = bfin_gpio_mask_irq, | 459 | .mask = bfin_gpio_mask_irq, |
460 | .mask_ack = bfin_gpio_mask_ack_irq, | 460 | .mask_ack = bfin_gpio_mask_ack_irq, |
461 | .unmask = bfin_gpio_unmask_irq, | 461 | .unmask = bfin_gpio_unmask_irq, |
462 | .disable = bfin_gpio_mask_irq, | ||
463 | .enable = bfin_gpio_unmask_irq, | ||
462 | .set_type = bfin_gpio_irq_type, | 464 | .set_type = bfin_gpio_irq_type, |
463 | .startup = bfin_gpio_irq_startup, | 465 | .startup = bfin_gpio_irq_startup, |
464 | .shutdown = bfin_gpio_irq_shutdown, | 466 | .shutdown = bfin_gpio_irq_shutdown, |
@@ -846,6 +848,8 @@ static struct irq_chip bfin_gpio_irqchip = { | |||
846 | .mask = bfin_gpio_mask_irq, | 848 | .mask = bfin_gpio_mask_irq, |
847 | .mask_ack = bfin_gpio_mask_ack_irq, | 849 | .mask_ack = bfin_gpio_mask_ack_irq, |
848 | .unmask = bfin_gpio_unmask_irq, | 850 | .unmask = bfin_gpio_unmask_irq, |
851 | .disable = bfin_gpio_mask_irq, | ||
852 | .enable = bfin_gpio_unmask_irq, | ||
849 | .set_type = bfin_gpio_irq_type, | 853 | .set_type = bfin_gpio_irq_type, |
850 | .startup = bfin_gpio_irq_startup, | 854 | .startup = bfin_gpio_irq_startup, |
851 | .shutdown = bfin_gpio_irq_shutdown, | 855 | .shutdown = bfin_gpio_irq_shutdown, |