diff options
Diffstat (limited to 'drivers/gpio/timbgpio.c')
-rw-r--r-- | drivers/gpio/timbgpio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/timbgpio.c b/drivers/gpio/timbgpio.c index d941f45fe557..4ecba6e5a32d 100644 --- a/drivers/gpio/timbgpio.c +++ b/drivers/gpio/timbgpio.c | |||
@@ -175,7 +175,7 @@ static void timbgpio_irq(unsigned int irq, struct irq_desc *desc) | |||
175 | ipr = ioread32(tgpio->membase + TGPIO_IPR); | 175 | ipr = ioread32(tgpio->membase + TGPIO_IPR); |
176 | iowrite32(ipr, tgpio->membase + TGPIO_ICR); | 176 | iowrite32(ipr, tgpio->membase + TGPIO_ICR); |
177 | 177 | ||
178 | for_each_bit(offset, &ipr, tgpio->gpio.ngpio) | 178 | for_each_set_bit(offset, &ipr, tgpio->gpio.ngpio) |
179 | generic_handle_irq(timbgpio_to_irq(&tgpio->gpio, offset)); | 179 | generic_handle_irq(timbgpio_to_irq(&tgpio->gpio, offset)); |
180 | } | 180 | } |
181 | 181 | ||