diff options
Diffstat (limited to 'drivers/mfd/htc-egpio.c')
-rw-r--r-- | drivers/mfd/htc-egpio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/htc-egpio.c b/drivers/mfd/htc-egpio.c index aa266e1f69b..addb846c1e3 100644 --- a/drivers/mfd/htc-egpio.c +++ b/drivers/mfd/htc-egpio.c | |||
@@ -108,7 +108,7 @@ static void egpio_handler(unsigned int irq, struct irq_desc *desc) | |||
108 | ack_irqs(ei); | 108 | ack_irqs(ei); |
109 | /* Process all set pins. */ | 109 | /* Process all set pins. */ |
110 | readval &= ei->irqs_enabled; | 110 | readval &= ei->irqs_enabled; |
111 | for_each_bit(irqpin, &readval, ei->nirqs) { | 111 | for_each_set_bit(irqpin, &readval, ei->nirqs) { |
112 | /* Run irq handler */ | 112 | /* Run irq handler */ |
113 | pr_debug("got IRQ %d\n", irqpin); | 113 | pr_debug("got IRQ %d\n", irqpin); |
114 | irq = ei->irq_start + irqpin; | 114 | irq = ei->irq_start + irqpin; |