mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-02 15:18:19 +00:00
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>
This commit is contained in:
parent
4c0a8899d9
commit
8df9d7f70f
1 changed files with 1 additions and 1 deletions
|
@ -247,7 +247,7 @@ static int gpio_siox_probe(struct siox_device *sdevice)
|
|||
}
|
||||
|
||||
ret = gpiochip_irqchip_add(&ddata->gchip, &ddata->ichip,
|
||||
0, handle_level_irq, IRQ_TYPE_EDGE_RISING);
|
||||
0, handle_level_irq, IRQ_TYPE_NONE);
|
||||
if (ret)
|
||||
dev_err(&sdevice->dev,
|
||||
"Failed to register irq chip (%d)\n", ret);
|
||||
|
|
Loading…
Reference in a new issue