aboutsummaryrefslogtreecommitdiff
path: root/lib/test_overflow.c
diff options
context:
space:
mode:
authorRichard Fitzgerald <[email protected]>2021-08-05 17:11:04 +0100
committerMark Brown <[email protected]>2021-08-05 20:17:13 +0100
commitf1040e86f83b0f7d5f45724500a6a441731ff4b7 (patch)
tree74021cd97498288e0673e3b8fdadb1087aa13d62 /lib/test_overflow.c
parent8b353bbeae20e2214c9d9d88bcb2fda4ba145d83 (diff)
ASoC: cs42l42: PLL must be running when changing MCLK_SRC_SEL
Both SCLK and PLL clocks must be running to drive the glitch-free mux behind MCLK_SRC_SEL and complete the switchover. This patch moves the writing of MCLK_SRC_SEL to when the PLL is started and stopped, so that it only transitions while the PLL is running. The unconditional write MCLK_SRC_SEL=0 in cs42l42_mute_stream() is safe because if the PLL is not running MCLK_SRC_SEL is already 0. Signed-off-by: Richard Fitzgerald <[email protected]> Fixes: 43fc357199f9 ("ASoC: cs42l42: Set clock source for both ways of stream") Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions