Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 263563
b: refs/heads/master
c: 3f6065d
h: refs/heads/master
i:
  263561: f9e9fc6
  263559: 8fc0448
v: v3
  • Loading branch information
Marek Szyprowski authored and Kukjin Kim committed Aug 19, 2011
1 parent d79caf2 commit 64ae3fe
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 70b0e82bc7d03d33de5bceea92d419a9be4340ee
refs/heads/master: 3f6065dd9d2c947c8d68336f07bd721d3909a30d
6 changes: 6 additions & 0 deletions trunk/arch/arm/plat-s5p/irq-gpioint.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@
#include <plat/gpio-core.h>
#include <plat/gpio-cfg.h>

#include <asm/mach/irq.h>

#define GPIO_BASE(chip) (((unsigned long)(chip)->base) & 0xFFFFF000u)

#define CON_OFFSET 0x700
Expand Down Expand Up @@ -81,6 +83,9 @@ static void s5p_gpioint_handler(unsigned int irq, struct irq_desc *desc)
int group, pend_offset, mask_offset;
unsigned int pend, mask;

struct irq_chip *chip = irq_get_chip(irq);
chained_irq_enter(chip, desc);

for (group = 0; group < bank->nr_groups; group++) {
struct s3c_gpio_chip *chip = bank->chips[group];
if (!chip)
Expand All @@ -102,6 +107,7 @@ static void s5p_gpioint_handler(unsigned int irq, struct irq_desc *desc)
pend &= ~BIT(offset);
}
}
chained_irq_exit(chip, desc);
}

static __init int s5p_gpioint_add(struct s3c_gpio_chip *chip)
Expand Down

0 comments on commit 64ae3fe

Please sign in to comment.