Merge branch 'gpio/merge' of git://git.secretlab.ca/git/linux-2.6
* 'gpio/merge' of git://git.secretlab.ca/git/linux-2.6: gpio/langwell_gpio: ack the correct bit for langwell gpio interrupts
This commit is contained in:
commit
902daf6580
|
@ -223,7 +223,7 @@ static void lnw_irq_handler(unsigned irq, struct irq_desc *desc)
|
||||||
gedr = gpio_reg(&lnw->chip, base, GEDR);
|
gedr = gpio_reg(&lnw->chip, base, GEDR);
|
||||||
pending = readl(gedr);
|
pending = readl(gedr);
|
||||||
while (pending) {
|
while (pending) {
|
||||||
gpio = __ffs(pending) - 1;
|
gpio = __ffs(pending);
|
||||||
mask = BIT(gpio);
|
mask = BIT(gpio);
|
||||||
pending &= ~mask;
|
pending &= ~mask;
|
||||||
/* Clear before handling so we can't lose an edge */
|
/* Clear before handling so we can't lose an edge */
|
||||||
|
|
Loading…
Reference in New Issue