Skip to content

Commit 75e99bf

Browse files
andy-shevLinus Walleij
authored andcommitted
gpio: lynxpoint: 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 4c87540 commit 75e99bf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/gpio/gpio-lynxpoint.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ static int lp_gpio_probe(struct platform_device *pdev)
377377
return -ENOMEM;
378378
girq->parents[0] = (unsigned)irq_rc->start;
379379
girq->default_type = IRQ_TYPE_NONE;
380-
girq->handler = handle_simple_irq;
380+
girq->handler = handle_bad_irq;
381381
}
382382

383383
ret = devm_gpiochip_add_data(dev, gc, lg);

0 commit comments

Comments
 (0)