Skip to content

Commit e78ade0

Browse files
andy-shevlinusw
authored andcommitted
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>
1 parent fdf4332 commit e78ade0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpio/gpio-merrifield.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,7 @@ static int mrfld_gpio_probe(struct pci_dev *pdev, const struct pci_device_id *id
411411
}
412412

413413
retval = gpiochip_irqchip_add(&priv->chip, &mrfld_irqchip, irq_base,
414-
handle_simple_irq, IRQ_TYPE_NONE);
414+
handle_bad_irq, IRQ_TYPE_NONE);
415415
if (retval) {
416416
dev_err(&pdev->dev, "could not connect irqchip to gpiochip\n");
417417
return retval;

0 commit comments

Comments
 (0)