diff options
author | Michael Hennerich <michael.hennerich@analog.com> | 2008-07-14 16:31:22 +0800 |
---|---|---|
committer | Bryan Wu <cooloney@kernel.org> | 2008-07-14 16:31:22 +0800 |
commit | 1f2d18690f4390ac4cf75648a5bc18fc07b3aef6 (patch) | |
tree | 78a5365e82012f738d2ec68d9b2da449b24c36b6 /arch/blackfin/mach-common | |
parent | fc68911ee379bff429c2f8dfc0a4d3277eb193ec (diff) | |
download | talos-op-linux-1f2d18690f4390ac4cf75648a5bc18fc07b3aef6.tar.gz talos-op-linux-1f2d18690f4390ac4cf75648a5bc18fc07b3aef6.zip |
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>
Diffstat (limited to 'arch/blackfin/mach-common')
-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 = { .mask = bfin_gpio_mask_irq, .mask_ack = bfin_gpio_mask_ack_irq, .unmask = bfin_gpio_unmask_irq, + .disable = bfin_gpio_mask_irq, + .enable = bfin_gpio_unmask_irq, .set_type = bfin_gpio_irq_type, .startup = bfin_gpio_irq_startup, .shutdown = bfin_gpio_irq_shutdown, @@ -846,6 +848,8 @@ static struct irq_chip bfin_gpio_irqchip = { .mask = bfin_gpio_mask_irq, .mask_ack = bfin_gpio_mask_ack_irq, .unmask = bfin_gpio_unmask_irq, + .disable = bfin_gpio_mask_irq, + .enable = bfin_gpio_unmask_irq, .set_type = bfin_gpio_irq_type, .startup = bfin_gpio_irq_startup, .shutdown = bfin_gpio_irq_shutdown, |