git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'gpio/next' of git://git.secretlab.ca/git/linux-2.6
[pandora-kernel.git]
/
drivers
/
gpio
/
gpio-langwell.c
diff --git
a/drivers/gpio/gpio-langwell.c
b/drivers/gpio/gpio-langwell.c
index
e7a7ea7
..
d2eb57c
100644
(file)
--- a/
drivers/gpio/gpio-langwell.c
+++ b/
drivers/gpio/gpio-langwell.c
@@
-225,7
+225,7
@@
static void lnw_irq_handler(unsigned irq, struct irq_desc *desc)
gedr = gpio_reg(&lnw->chip, base, GEDR);
pending = readl(gedr);
while (pending) {
- gpio = __ffs(pending)
- 1
;
+ gpio = __ffs(pending);
mask = BIT(gpio);
pending &= ~mask;
/* Clear before handling so we can't lose an edge */