Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 307670
b: refs/heads/master
c: c8f925b
h: refs/heads/master
v: v3
  • Loading branch information
Mika Westerberg authored and Grant Likely committed May 10, 2012
1 parent 335f1bb commit 1a106a3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 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: 465f2bd459c3143a4f93c2cf2de2c6ebb8f94947
refs/heads/master: c8f925b69fec7d147cb22cbeec50fbcb2ec5580b
4 changes: 1 addition & 3 deletions trunk/drivers/gpio/gpio-langwell.c
Original file line number Diff line number Diff line change
Expand Up @@ -250,11 +250,9 @@ static void lnw_irq_handler(unsigned irq, struct irq_desc *desc)
/* check GPIO controller to check which pin triggered the interrupt */
for (base = 0; base < lnw->chip.ngpio; base += 32) {
gedr = gpio_reg(&lnw->chip, base, GEDR);
pending = readl(gedr);
while (pending) {
while ((pending = readl(gedr))) {
gpio = __ffs(pending);
mask = BIT(gpio);
pending &= ~mask;
/* Clear before handling so we can't lose an edge */
writel(mask, gedr);
generic_handle_irq(irq_find_mapping(lnw->domain,
Expand Down

0 comments on commit 1a106a3

Please sign in to comment.