Message ID | 20220427144620.9105-6-pmalgujar@marvell.com |
---|---|
State | New |
Headers | show |
Series | gpio: thunderx: Marvell GPIO changes. | expand |
On Wed, Apr 27, 2022 at 4:47 PM Piyush Malgujar <pmalgujar@marvell.com> wrote: > The current level interrupt handler is masking the GPIO interrupt > and not unmasking it, to resolve that, handle_level_irq is used. > > Signed-off-by: Witold Sadowski <wsadowski@marvell.com> > Signed-off-by: Piyush Malgujar <pmalgujar@marvell.com> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Yours, Linus Walleij
diff --git a/drivers/gpio/gpio-thunderx.c b/drivers/gpio/gpio-thunderx.c index 87ab1ad7e652347a67b7747ea497b944498a8b41..b1063e53ceb8edf26ca1a6ecab8035aad62128a1 100644 --- a/drivers/gpio/gpio-thunderx.c +++ b/drivers/gpio/gpio-thunderx.c @@ -343,7 +343,7 @@ static int thunderx_gpio_irq_set_type(struct irq_data *d, irq_set_handler_locked(d, handle_fasteoi_ack_irq); bit_cfg |= GPIO_BIT_CFG_INT_TYPE; } else { - irq_set_handler_locked(d, handle_fasteoi_mask_irq); + irq_set_handler_locked(d, handle_level_irq); } raw_spin_lock_irqsave(&txgpio->lock, flags);