From: Andy Shevchenko Date: Mon, 10 Oct 2016 09:07:53 +0000 (+0300) Subject: gpio: merrifield: set default handler to be handle_bad_irq() X-Git-Tag: v5.15~12326^2~41 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e78ade0a2f50fd1a5254d8c801dbb37f46a85e12;p=platform%2Fkernel%2Flinux-starfive.git gpio: merrifield: set default handler to be handle_bad_irq() 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 Signed-off-by: Linus Walleij --- diff --git a/drivers/gpio/gpio-merrifield.c b/drivers/gpio/gpio-merrifield.c index 45b5127..82cdcdc 100644 --- a/drivers/gpio/gpio-merrifield.c +++ b/drivers/gpio/gpio-merrifield.c @@ -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;