summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-merrifield.c
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2016-10-10 11:07:53 +0200
committerLinus Walleij <linus.walleij@linaro.org>2016-10-24 16:33:11 +0200
commite78ade0a2f50fd1a5254d8c801dbb37f46a85e12 (patch)
treec3dd2080fbf5b1bd7a6151c1acff4c656f247651 /drivers/gpio/gpio-merrifield.c
parentgpio: max77620: Remove unused fields from struct max77620_gpio (diff)
downloadlinux-e78ade0a2f50fd1a5254d8c801dbb37f46a85e12.tar.xz
linux-e78ade0a2f50fd1a5254d8c801dbb37f46a85e12.zip
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>
Diffstat (limited to 'drivers/gpio/gpio-merrifield.c')
-rw-r--r--drivers/gpio/gpio-merrifield.c2
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;