diff options
author | 2019-10-01 15:51:47 +0200 | |
---|---|---|
committer | 2019-10-16 13:45:27 +0200 | |
commit | c77a4de2bbf36d26560c430a6578fdbdd04f6f9c (patch) | |
tree | 868907170373bb201bc63bb9e139430af839b003 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | pinctrl: at91: Pass irqchip when adding gpiochip (diff) | |
download | linux-dev-c77a4de2bbf36d26560c430a6578fdbdd04f6f9c.tar.xz linux-dev-c77a4de2bbf36d26560c430a6578fdbdd04f6f9c.zip |
pinctrl: st: Pass irqchip when adding gpiochip
We need to convert all old gpio irqchips to pass the irqchip
setup along when adding the gpio_chip. For more info see
drivers/gpio/TODO.
For chained irqchips this is a pretty straight-forward
conversion: the ST pin controller errors out of adding a
irqchip if the interrupt is invalid or missing or if the
irqmux is not present: the irqchip should not be added
if either of these errors happen, so rewrite the code to
deal with that. Keep the exit path where the gpio_chip
is added no matter what the status of the irq is.
Cc: Benjamin Gaignard <benjamin.gaignard@st.com>
Cc: Amelie Delaunay <amelie.delaunay@st.com>
Cc: Patrice Chotard <patrice.chotard@st.com>
Cc: Thierry Reding <thierry.reding@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20191001135147.29416-1-linus.walleij@linaro.org
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions