[alsa-devel] [PATCH 5/6] ASoC: samsung: Drop uneeded RCLKSRC setting in the Snow driver

Sylwester Nawrocki s.nawrocki at samsung.com
Wed Mar 7 18:04:17 CET 2018


The SAMSUNG_I2S_RCLKSRC_0 RCLKSRC mux is a default configuration after
reset so there is no need for this explicit snd_soc_dai_set_sysclk() call.
Also, this static mux clock configuration can be specified in DT.

Signed-off-by: Sylwester Nawrocki <s.nawrocki at samsung.com>
---
 sound/soc/samsung/snow.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/sound/soc/samsung/snow.c b/sound/soc/samsung/snow.c
index d8ac907bbb0d..fc62110f500f 100644
--- a/sound/soc/samsung/snow.c
+++ b/sound/soc/samsung/snow.c
@@ -50,11 +50,6 @@ static int snow_late_probe(struct snd_soc_card *card)
 	if (ret < 0)
 		return ret;
 
-	/* Select I2S Bus clock to set RCLK and BCLK */
-	ret = snd_soc_dai_set_sysclk(cpu_dai, SAMSUNG_I2S_RCLKSRC_0,
-					0, SND_SOC_CLOCK_IN);
-	if (ret < 0)
-		return ret;
 
 	return 0;
 }
-- 
2.14.2



More information about the Alsa-devel mailing list