diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-05-23 14:28:04 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-05-23 14:28:04 -0400 |
commit | 9a55d9752d8abfc62f1ab05ccc790d22a0c8e7c0 (patch) | |
tree | 894bb6a3fb409c6ac5f0374f5a1f656918bc35cd /arch/arm/mach-msm | |
parent | ec19628d72cff8f80220b7cedba089074ac6a599 (diff) | |
parent | dc7ad3b3d5f1cd0a0d16c05dd3ad3898979d261e (diff) |
Merge branch 'devel-stable' into for-linus
Conflicts:
arch/arm/Kconfig
arch/arm/mach-ns9xxx/include/mach/uncompress.h
Diffstat (limited to 'arch/arm/mach-msm')
-rw-r--r-- | arch/arm/mach-msm/gpio-v2.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/arch/arm/mach-msm/gpio-v2.c b/arch/arm/mach-msm/gpio-v2.c index 56a964e52ad3..cc9c4fd7cccc 100644 --- a/arch/arm/mach-msm/gpio-v2.c +++ b/arch/arm/mach-msm/gpio-v2.c | |||
@@ -27,6 +27,9 @@ | |||
27 | #include <linux/module.h> | 27 | #include <linux/module.h> |
28 | #include <linux/platform_device.h> | 28 | #include <linux/platform_device.h> |
29 | #include <linux/spinlock.h> | 29 | #include <linux/spinlock.h> |
30 | |||
31 | #include <asm/mach/irq.h> | ||
32 | |||
30 | #include <mach/msm_iomap.h> | 33 | #include <mach/msm_iomap.h> |
31 | #include "gpiomux.h" | 34 | #include "gpiomux.h" |
32 | 35 | ||
@@ -309,8 +312,10 @@ static int msm_gpio_irq_set_type(struct irq_data *d, unsigned int flow_type) | |||
309 | */ | 312 | */ |
310 | static void msm_summary_irq_handler(unsigned int irq, struct irq_desc *desc) | 313 | static void msm_summary_irq_handler(unsigned int irq, struct irq_desc *desc) |
311 | { | 314 | { |
312 | struct irq_data *data = irq_desc_get_irq_data(desc); | ||
313 | unsigned long i; | 315 | unsigned long i; |
316 | struct irq_chip *chip = irq_desc_get_chip(desc); | ||
317 | |||
318 | chained_irq_enter(chip, desc); | ||
314 | 319 | ||
315 | for (i = find_first_bit(msm_gpio.enabled_irqs, NR_GPIO_IRQS); | 320 | for (i = find_first_bit(msm_gpio.enabled_irqs, NR_GPIO_IRQS); |
316 | i < NR_GPIO_IRQS; | 321 | i < NR_GPIO_IRQS; |
@@ -319,7 +324,8 @@ static void msm_summary_irq_handler(unsigned int irq, struct irq_desc *desc) | |||
319 | generic_handle_irq(msm_gpio_to_irq(&msm_gpio.gpio_chip, | 324 | generic_handle_irq(msm_gpio_to_irq(&msm_gpio.gpio_chip, |
320 | i)); | 325 | i)); |
321 | } | 326 | } |
322 | data->chip->irq_ack(data); | 327 | |
328 | chained_irq_exit(chip, desc); | ||
323 | } | 329 | } |
324 | 330 | ||
325 | static int msm_gpio_irq_set_wake(struct irq_data *d, unsigned int on) | 331 | static int msm_gpio_irq_set_wake(struct irq_data *d, unsigned int on) |