]> git.baikalelectronics.ru Git - kernel.git/commit
gpio: stmpe: Move chip registration
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 28 Jul 2020 07:27:06 +0000 (09:27 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 3 Aug 2020 23:07:23 +0000 (01:07 +0200)
commit0c51efaf5992bc2d4499430101f3d3d565153332
treedb2512c06aaa13a3fac5f7d9fc49e21aeedfa77d
parent4b3b9d715a452a282c65d86316b8bd5db07c64dd
gpio: stmpe: Move chip registration

Make sure to register the GPIO chip after requesting the
interrupt and setting up the IRQ members of the irqchip.

Fixes: a27a94d88ad4 ("gpio: stmpe: Use irqchip template")
Reported-by: Serge Semin <fancer.lancer@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Cc: Patrice Chotard <patrice.chotard@st.com>
Link: https://lore.kernel.org/r/20200728072706.348725-1-linus.walleij@linaro.org
drivers/gpio/gpio-stmpe.c