diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2016-10-10 12:07:53 +0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2016-10-24 17:33:11 +0300 |
commit | e78ade0a2f50fd1a5254d8c801dbb37f46a85e12 (patch) | |
tree | c3dd2080fbf5b1bd7a6151c1acff4c656f247651 | |
parent | fdf4332fdef28b401c36c229174469c3cf3e8241 (diff) | |
download | linux-e78ade0a2f50fd1a5254d8c801dbb37f46a85e12.tar.xz |
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 <andriy.shevchenko@linux.intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
-rw-r--r-- | drivers/gpio/gpio-merrifield.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-merrifield.c b/drivers/gpio/gpio-merrifield.c index 45b51278b8ee..82cdcdc779bb 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; |