pinctrl: renesas: rzg2l: Avoid configuring ISEL in gpio_irq_{en,dis}able*(
authorBiju Das <biju.das.jz@bp.renesas.com>
Tue, 6 Feb 2024 13:53:18 +0000 (13:53 +0000)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 21 Feb 2024 15:34:05 +0000 (16:34 +0100)
commit1d2da79708cb4e23ec3d19c6c5b528753ca08e67
tree3055f1026050755258821113ec5a8eaeb4197166
parentd3c49299339051b17ae3f2fe70fa5af7bbb82011
pinctrl: renesas: rzg2l: Avoid configuring ISEL in gpio_irq_{en,dis}able*(

Currently on irq_disable(), we are disabling gpio interrupt enable(ISEL).
That means the pin is just gpio input and not gpio input interrupt any
more.  So, move configuring ISEL in rzg2l_gpio_child_to_parent_hwirq()/
rzg2l_gpio_irq_domain_free() so that the pin will be gpioint always even
during irq_disable().

Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20240206135318.165426-1-biju.das.jz@bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
drivers/pinctrl/renesas/pinctrl-rzg2l.c