Files
twx-linux/drivers
Patrice Chotard bc9aec2fad pinctrl: st: add irq_request/release_resources callbacks
[ Upstream commit e855fa9a65 ]

When using GPIO as IRQ source, the GPIO must be configured
in INPUT. Callbacks dedicated for this was missing in
pinctrl-st driver.

This fix the following kernel error when trying to lock a gpio
as IRQ:

[    7.521095] gpio gpiochip7: (PIO11): gpiochip_lock_as_irq: tried to flag a GPIO set as output for IRQ
[    7.526018] gpio gpiochip7: (PIO11): unable to lock HW IRQ 6 for IRQ
[    7.529405] genirq: Failed to request resources for 0-0053 (irq 81) on irqchip GPIO

Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-12-25 14:22:11 +01:00
..
…
2017-12-16 10:33:55 +01:00
…
…
…
…
…
…
2017-12-16 10:33:53 +01:00
…
…
2017-11-30 08:37:27 +00:00
…
…
…
…
…
…
…
2017-12-20 10:04:57 +01:00
…
…
…
…
…
…
…
…
…
…
…
…