diff options
Diffstat (limited to 'drivers/gpio/gpio-ath79.c')
-rw-r--r-- | drivers/gpio/gpio-ath79.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-ath79.c b/drivers/gpio/gpio-ath79.c index f33d4a5fe671..5fad89dfab7e 100644 --- a/drivers/gpio/gpio-ath79.c +++ b/drivers/gpio/gpio-ath79.c | |||
@@ -132,6 +132,7 @@ static int ath79_gpio_irq_set_type(struct irq_data *data, | |||
132 | 132 | ||
133 | case IRQ_TYPE_LEVEL_HIGH: | 133 | case IRQ_TYPE_LEVEL_HIGH: |
134 | polarity |= mask; | 134 | polarity |= mask; |
135 | /* fall through */ | ||
135 | case IRQ_TYPE_LEVEL_LOW: | 136 | case IRQ_TYPE_LEVEL_LOW: |
136 | type |= mask; | 137 | type |= mask; |
137 | break; | 138 | break; |
@@ -208,7 +209,7 @@ static void ath79_gpio_irq_handler(struct irq_desc *desc) | |||
208 | if (pending) { | 209 | if (pending) { |
209 | for_each_set_bit(irq, &pending, gc->ngpio) | 210 | for_each_set_bit(irq, &pending, gc->ngpio) |
210 | generic_handle_irq( | 211 | generic_handle_irq( |
211 | irq_linear_revmap(gc->irqdomain, irq)); | 212 | irq_linear_revmap(gc->irq.domain, irq)); |
212 | } | 213 | } |
213 | 214 | ||
214 | chained_irq_exit(irqchip, desc); | 215 | chained_irq_exit(irqchip, desc); |