]> Gentwo Git Trees - linux/.git/commit
pinctrl: renesas: rzg2l: Fix OEN resume
authorBiju Das <biju.das.jz@bp.renesas.com>
Sun, 17 Aug 2025 14:30:19 +0000 (15:30 +0100)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 8 Sep 2025 10:02:55 +0000 (12:02 +0200)
commit30247fc3254a4502465ab809d49e2167ace5a6f2
tree7624c4a95ff24d994292b22655f9249218a07dd6
parentd1d31e2739ff063da1e85cd9b44316ca5cccdba8
pinctrl: renesas: rzg2l: Fix OEN resume

Writing to the PFC_OEN register is controlled by the write protect
register (PWPR).  Currently the OEN register write in resume() is done
without enabling write access in PWPR leading to incorrect operation.

Fixes: cd39805be85b ("pinctrl: renesas: rzg2l: Unify OEN handling across RZ/{G2L,V2H,V2N}")
Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
[geert: Move spin_*lock*() calls inside if-statements]
Link: https://lore.kernel.org/20250817143024.165471-2-biju.das.jz@bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
drivers/pinctrl/renesas/pinctrl-rzg2l.c