]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ASoC: rsnd: src: Add missing scu_supply clock to suspend/resume
authorJohn Madieu <john.madieu.xa@bp.renesas.com>
Tue, 30 Jun 2026 17:53:29 +0000 (17:53 +0000)
committerMark Brown <broonie@kernel.org>
Thu, 2 Jul 2026 17:56:38 +0000 (18:56 +0100)
commit83245e7a436c04e511378af14dd81fd188b41541
treec3f2ecb273b4299de5f976c13688e109125c06c2
parentbf93bd42068b0b1dad84eb9375b8337bc05ef55d
ASoC: rsnd: src: Add missing scu_supply clock to suspend/resume

scu_supply is enabled alongside scu and scu_x2 during normal SRC
operation, but rsnd_src_suspend() and rsnd_src_resume() only disable
and re-enable scu and scu_x2. The supply clock is left enabled across
a system suspend and its prepare/enable refcount becomes unbalanced
after a suspend/resume cycle.

Disable scu_supply in rsnd_src_suspend() and re-enable it in
rsnd_src_resume() so the SRC clocks are managed consistently across
system PM transitions.

Fixes: ef19ecf042b4 ("ASoC: rsnd: Add system suspend/resume support")
Signed-off-by: John Madieu <john.madieu.xa@bp.renesas.com>
Acked-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://patch.msgid.link/20260630175329.4145703-1-john.madieu.xa@bp.renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/renesas/rcar/src.c