aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-merrifield.c
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2016-10-10 05:07:53 -0400
committerLinus Walleij <linus.walleij@linaro.org>2016-10-24 10:33:11 -0400
commite78ade0a2f50fd1a5254d8c801dbb37f46a85e12 (patch)
treec3dd2080fbf5b1bd7a6151c1acff4c656f247651 /drivers/gpio/gpio-merrifield.c
parentfdf4332fdef28b401c36c229174469c3cf3e8241 (diff)
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
411 } 411 }
412 412
413 retval = gpiochip_irqchip_add(&priv->chip, &mrfld_irqchip, irq_base, 413 retval = gpiochip_irqchip_add(&priv->chip, &mrfld_irqchip, irq_base,
414 handle_simple_irq, IRQ_TYPE_NONE); 414 handle_bad_irq, IRQ_TYPE_NONE);
415 if (retval) { 415 if (retval) {
416 dev_err(&pdev->dev, "could not connect irqchip to gpiochip\n"); 416 dev_err(&pdev->dev, "could not connect irqchip to gpiochip\n");
417 return retval; 417 return retval;