OSDN Git Service

ASoC: rsnd: setup BRGCKR/BRRA/BRRB on rsnd_adg_clk_control()
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tue, 22 Aug 2023 23:51:02 +0000 (23:51 +0000)
committerMark Brown <broonie@kernel.org>
Wed, 23 Aug 2023 12:53:29 +0000 (13:53 +0100)
commit4acdf9aedd5624aae9335d70a9324d5aaec4034d
tree2570953a361960f50e509806f7d02ec45add07d9
parentab0233747f9cf6ba6c6d0c60c1e0e2533db00302
ASoC: rsnd: setup BRGCKR/BRRA/BRRB on rsnd_adg_clk_control()

Current adg.c will configure BRGCKR/BRRA/BRRB to output clock
when it start sound. OTAH, rsnd_adg_clk_enable() will enables
clk_a/b/c when driver was probed.
But it is strange, these should be set in the same time.
This patch fixup it.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://lore.kernel.org/r/87h6oqzlei.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sh/rcar/adg.c