gpio: merrifield: set default handler to be handle_bad_irq()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 10 Oct 2016 09:07:53 +0000 (12:07 +0300)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 24 Oct 2016 14:33:11 +0000 (16:33 +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-merrifield.c

index 45b5127..82cdcdc 100644 (file)
@@ -411,7 +411,7 @@ static int mrfld_gpio_probe(struct pci_dev *pdev, const struct pci_device_id *id
        }
 
        retval = gpiochip_irqchip_add(&priv->chip, &mrfld_irqchip, irq_base,
-                                     handle_simple_irq, IRQ_TYPE_NONE);
+                                     handle_bad_irq, IRQ_TYPE_NONE);
        if (retval) {
                dev_err(&pdev->dev, "could not connect irqchip to gpiochip\n");
                return retval;