Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 226461
b: refs/heads/master
c: b1cc4c5
h: refs/heads/master
i:
  226459: 86f0229
v: v3
  • Loading branch information
Evgeny Kuznetsov authored and Tony Lindgren committed Dec 8, 2010
1 parent ca68079 commit 7c2b564
Show file tree
Hide file tree
Showing 2 changed files with 6 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: be40f7a3d7b53c1a44e11b376b4a395d6b91f58d
refs/heads/master: b1cc4c55c69efed3ebbb2a13e4c77a2a1a4a6bc9
5 changes: 5 additions & 0 deletions trunk/arch/arm/plat-omap/gpio.c
Original file line number Diff line number Diff line change
Expand Up @@ -1318,6 +1318,10 @@ static void gpio_irq_handler(unsigned int irq, struct irq_desc *desc)
if (bank->method == METHOD_GPIO_44XX)
isr_reg = bank->base + OMAP4_GPIO_IRQSTATUS0;
#endif

if (WARN_ON(!isr_reg))
goto exit;

while(1) {
u32 isr_saved, level_mask = 0;
u32 enabled;
Expand Down Expand Up @@ -1377,6 +1381,7 @@ static void gpio_irq_handler(unsigned int irq, struct irq_desc *desc)
configured, we must unmask the bank interrupt only after
handler(s) are executed in order to avoid spurious bank
interrupt */
exit:
if (!unmasked)
desc->chip->unmask(irq);

Expand Down

0 comments on commit 7c2b564

Please sign in to comment.