diff options
author | 2017-03-16 18:26:02 +0100 | |
---|---|---|
committer | 2017-03-23 10:10:39 +0100 | |
commit | e855fa9a65c40788b5069abb0d094537daa22e05 (patch) | |
tree | 0cabd72038b78dcbadbda8bc37f059e72c45617c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | pinctrl: qcom: Don't clear status bit on irq_unmask (diff) | |
download | linux-rng-e855fa9a65c40788b5069abb0d094537daa22e05.tar.xz linux-rng-e855fa9a65c40788b5069abb0d094537daa22e05.zip |
pinctrl: st: add irq_request/release_resources callbacks
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions