summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2019-06-26 04:11:17 -0400
committerLinus Walleij <linus.walleij@linaro.org>2019-06-27 10:56:52 -0400
commit8df9d7f70f87960b6ad2b4a90db755551d7ab7bd (patch)
tree38adf6b409e62dba093e28151db96266a8e10fd8
parent4c0a8899d9c215633ef79805c68b2566c775d43d (diff)
gpio: siox: Switch to IRQ_TYPE_NONE
The siox driver is hardcoding a default type of IRQ_TYPE_EDGE_RISING to the irq helper, but this should only be applicable to old boardfiles and odd device tree irqchips with just onecell irq (no flags). I doubt this is the case with the siox, I think all consumers specify the flags they use in the device tree. Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
-rw-r--r--drivers/gpio/gpio-siox.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-siox.c b/drivers/gpio/gpio-siox.c
index 0b4450118865..40067e1535d3 100644
--- a/drivers/gpio/gpio-siox.c
+++ b/drivers/gpio/gpio-siox.c
@@ -247,7 +247,7 @@ static int gpio_siox_probe(struct siox_device *sdevice)
247 } 247 }
248 248
249 ret = gpiochip_irqchip_add(&ddata->gchip, &ddata->ichip, 249 ret = gpiochip_irqchip_add(&ddata->gchip, &ddata->ichip,
250 0, handle_level_irq, IRQ_TYPE_EDGE_RISING); 250 0, handle_level_irq, IRQ_TYPE_NONE);
251 if (ret) 251 if (ret)
252 dev_err(&sdevice->dev, 252 dev_err(&sdevice->dev,
253 "Failed to register irq chip (%d)\n", ret); 253 "Failed to register irq chip (%d)\n", ret);