diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2019-10-09 18:59:11 +0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2019-10-15 01:19:05 +0200 |
commit | 75e99bf5ed8fa74bc80d693d8e0a24eeaa38202b (patch) | |
tree | 18e5b5487453af41fb99f597562bb05763c78ec7 /drivers/gpio | |
parent | 4c87540940cbc7ddbe9674087919c605fd5c2ef1 (diff) | |
download | linux-75e99bf5ed8fa74bc80d693d8e0a24eeaa38202b.tar.gz linux-75e99bf5ed8fa74bc80d693d8e0a24eeaa38202b.tar.bz2 linux-75e99bf5ed8fa74bc80d693d8e0a24eeaa38202b.zip |
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>
Diffstat (limited to 'drivers/gpio')
-rw-r--r-- | drivers/gpio/gpio-lynxpoint.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-lynxpoint.c b/drivers/gpio/gpio-lynxpoint.c index 082cd143f430..e9e47c0d5be7 100644 --- a/drivers/gpio/gpio-lynxpoint.c +++ b/drivers/gpio/gpio-lynxpoint.c @@ -377,7 +377,7 @@ static int lp_gpio_probe(struct platform_device *pdev) return -ENOMEM; girq->parents[0] = (unsigned)irq_rc->start; girq->default_type = IRQ_TYPE_NONE; - girq->handler = handle_simple_irq; + girq->handler = handle_bad_irq; } ret = devm_gpiochip_add_data(dev, gc, lg); |