]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
can: rcar_can: rcar_can_resume(): fix s2ram with PSCI
authorGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 14 Aug 2025 11:26:37 +0000 (13:26 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 2 Oct 2025 11:40:38 +0000 (13:40 +0200)
commit9507cbebc1861d1d3c20aa6e098b5cbcfe08f0fe
treec204f6937411c331c2a0ba44dde1704b1de53dd7
parent72ded830e1dd91951eb3764549bcdd8ae5c6da2a
can: rcar_can: rcar_can_resume(): fix s2ram with PSCI

[ Upstream commit 5c793afa07da6d2d4595f6c73a2a543a471bb055 ]

On R-Car Gen3 using PSCI, s2ram powers down the SoC.  After resume, the
CAN interface no longer works, until it is brought down and up again.

Fix this by calling rcar_can_start() from the PM resume callback, to
fully initialize the controller instead of just restarting it.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://patch.msgid.link/699b2f7fcb60b31b6f976a37f08ce99c5ffccb31.1755165227.git.geert+renesas@glider.be
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/can/rcar/rcar_can.c