Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 144490
b: refs/heads/master
c: bedfd15
h: refs/heads/master
v: v3
  • Loading branch information
Roger Quadros authored and Tony Lindgren committed Apr 23, 2009
1 parent 035a55b commit 424c199
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 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: c485ab50dd90412d88e25ed30b4e0d5ff636ffe2
refs/heads/master: bedfd15410a331e4183d3d926bb944682cad61f3
6 changes: 5 additions & 1 deletion trunk/arch/arm/plat-omap/gpio.c
Original file line number Diff line number Diff line change
Expand Up @@ -758,8 +758,12 @@ static void _clear_gpio_irqbank(struct gpio_bank *bank, int gpio_mask)

/* Workaround for clearing DSP GPIO interrupts to allow retention */
#if defined(CONFIG_ARCH_OMAP24XX) || defined(CONFIG_ARCH_OMAP34XX)
reg = bank->base + OMAP24XX_GPIO_IRQSTATUS2;
if (cpu_is_omap24xx() || cpu_is_omap34xx())
__raw_writel(gpio_mask, bank->base + OMAP24XX_GPIO_IRQSTATUS2);
__raw_writel(gpio_mask, reg);

/* Flush posted write for the irq status to avoid spurious interrupts */
__raw_readl(reg);
#endif
}

Expand Down

0 comments on commit 424c199

Please sign in to comment.