[PATCH 10/14] Remove the shutdown and startup when set PLL
Kiseok Jo
kiseok.jo at irondevice.com
Fri Jan 6 10:15:39 CET 2023
Signed-off-by: Kiseok Jo <kiseok.jo at irondevice.com>
Reported-by: Mark Brown <broonie at kernel.org>
---
sound/soc/codecs/sma1303.c | 8 +-------
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/sound/soc/codecs/sma1303.c b/sound/soc/codecs/sma1303.c
index 1991c8d21ba3..0b4ca935ae9f 100644
--- a/sound/soc/codecs/sma1303.c
+++ b/sound/soc/codecs/sma1303.c
@@ -943,13 +943,7 @@ static int sma1303_dai_hw_params_amp(struct snd_pcm_substream *substream,
|| sma1303->sys_clk_id == SMA1303_PLL_CLKIN_BCLK) {
if (sma1303->last_bclk != bclk) {
- if (sma1303->amp_power_status) {
- sma1303_shutdown(component);
- sma1303_setup_pll(component, bclk);
- sma1303_startup(component);
- } else
- sma1303_setup_pll(component, bclk);
-
+ sma1303_setup_pll(component, bclk);
sma1303->last_bclk = bclk;
}
}
--
2.30.2
More information about the Alsa-devel
mailing list