Skip to content

Commit

Permalink
squash: Fix bug in gpio interrupt clearing
Browse files Browse the repository at this point in the history
  • Loading branch information
popcornmix committed Jan 7, 2015
1 parent f48563b commit e46993c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/mach-bcm2708/bcm2708_gpio.c
Original file line number Diff line number Diff line change
Expand Up @@ -286,8 +286,8 @@ static irqreturn_t bcm2708_gpio_interrupt(int irq, void *dev_id)
for_each_set_bit(i, &edsr, 32) {
gpio = i + bank * 32;
generic_handle_irq(gpio_to_irq(gpio));
writel(1<<i,__io_address(GPIO_BASE) + GPIOEDS(bank));
}
writel(1<<i,__io_address(GPIO_BASE) + GPIOEDS(bank));
}
return IRQ_HANDLED;
}
Expand Down

0 comments on commit e46993c

Please sign in to comment.