diff options
author | Kevin Hilman <khilman@mvista.com> | 2008-01-17 00:56:14 -0500 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2008-03-20 10:57:54 -0400 |
commit | 4de8c75b00181db8169438e9fa4fb7bdf0db72d5 (patch) | |
tree | 80d44f8f761f6d093eaa3d2f8fcff6db45d81d66 /arch/arm | |
parent | 06cad098d28e02d2ee3ed587bb261377e4ae2f17 (diff) |
ARM: OMAP: Fix GPIO IRQ unmask
GPIO IRQ unmask doesn't actually do anything useful. The problem is
hidden by a separate explicit mass unmask at the end of the chained
bank handler.
Signed-off-by: Kevin Hilman <khilman@mvista.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/plat-omap/gpio.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm/plat-omap/gpio.c b/arch/arm/plat-omap/gpio.c index 66a1455595f4..8c78e4e57b5c 100644 --- a/arch/arm/plat-omap/gpio.c +++ b/arch/arm/plat-omap/gpio.c | |||
@@ -1134,10 +1134,9 @@ static void gpio_mask_irq(unsigned int irq) | |||
1134 | static void gpio_unmask_irq(unsigned int irq) | 1134 | static void gpio_unmask_irq(unsigned int irq) |
1135 | { | 1135 | { |
1136 | unsigned int gpio = irq - IH_GPIO_BASE; | 1136 | unsigned int gpio = irq - IH_GPIO_BASE; |
1137 | unsigned int gpio_idx = get_gpio_index(gpio); | ||
1138 | struct gpio_bank *bank = get_irq_chip_data(irq); | 1137 | struct gpio_bank *bank = get_irq_chip_data(irq); |
1139 | 1138 | ||
1140 | _set_gpio_irqenable(bank, gpio_idx, 1); | 1139 | _set_gpio_irqenable(bank, gpio, 1); |
1141 | } | 1140 | } |
1142 | 1141 | ||
1143 | static struct irq_chip gpio_irq_chip = { | 1142 | static struct irq_chip gpio_irq_chip = { |