gpio: lynxpoint: set default handler to be handle_bad_irq()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 9 Oct 2019 15:59:11 +0000 (18:59 +0300)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 14 Oct 2019 23:19:05 +0000 (01:19 +0200)
We switch the default handler to be handle_bad_irq() instead of
handle_simple_irq() (which was not correct anyway).

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-lynxpoint.c

index 082cd14..e9e47c0 100644 (file)
@@ -377,7 +377,7 @@ static int lp_gpio_probe(struct platform_device *pdev)
                        return -ENOMEM;
                girq->parents[0] = (unsigned)irq_rc->start;
                girq->default_type = IRQ_TYPE_NONE;
-               girq->handler = handle_simple_irq;
+               girq->handler = handle_bad_irq;
        }
 
        ret = devm_gpiochip_add_data(dev, gc, lg);