]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ASoC: renesas: fsi: add fsi_clk_prepare/unprepare()
authorbui duc phuc <phucduc.bui@gmail.com>
Tue, 9 Jun 2026 11:38:35 +0000 (18:38 +0700)
committerMark Brown <broonie@kernel.org>
Tue, 9 Jun 2026 23:33:52 +0000 (00:33 +0100)
commit05e1ebfeb7264e31a463c11deca66b7d55f7024f
treeac1a9e8b1188f731171784b3645e6377fbf2b3e6
parent39033b278f9c59d5913af89e5de3c3a0d2a9a89e
ASoC: renesas: fsi: add fsi_clk_prepare/unprepare()

Add fsi_clk_prepare() and fsi_clk_unprepare() helpers and call them
from fsi_dai_startup() and fsi_dai_shutdown().
This ensures clk_prepare() and clk_unprepare() are executed from
sleepable contexts and keeps clocks prepared only while audio streams
are active.

Acked-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Suggested-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: bui duc phuc <phucduc.bui@gmail.com>
Link: https://patch.msgid.link/20260609113836.45079-11-phucduc.bui@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/renesas/fsi.c