Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 249987
b: refs/heads/master
c: 03dd765
h: refs/heads/master
i:
  249985: 2bf7e34
  249983: fd99b50
v: v3
  • Loading branch information
Will Deacon committed May 11, 2011
1 parent ad56545 commit 70a6570
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0f43563f2d9d8f6f9e0727e4eedb7f557ed2fb4c
refs/heads/master: 03dd765fe4dd9420ac430d2a7c19498afa4431b3
10 changes: 8 additions & 2 deletions trunk/arch/arm/mach-msm/gpio-v2.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/spinlock.h>

#include <asm/mach/irq.h>

#include <mach/msm_iomap.h>
#include "gpiomux.h"

Expand Down Expand Up @@ -309,8 +312,10 @@ static int msm_gpio_irq_set_type(struct irq_data *d, unsigned int flow_type)
*/
static void msm_summary_irq_handler(unsigned int irq, struct irq_desc *desc)
{
struct irq_data *data = irq_desc_get_irq_data(desc);
unsigned long i;
struct irq_chip *chip = irq_desc_get_chip(desc);

chained_irq_enter(chip, desc);

for (i = find_first_bit(msm_gpio.enabled_irqs, NR_GPIO_IRQS);
i < NR_GPIO_IRQS;
Expand All @@ -319,7 +324,8 @@ static void msm_summary_irq_handler(unsigned int irq, struct irq_desc *desc)
generic_handle_irq(msm_gpio_to_irq(&msm_gpio.gpio_chip,
i));
}
data->chip->irq_ack(data);

chained_irq_exit(chip, desc);
}

static int msm_gpio_irq_set_wake(struct irq_data *d, unsigned int on)
Expand Down

0 comments on commit 70a6570

Please sign in to comment.