diff mbox

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

Message ID 20180307170417.14126-1-s.nawrocki@samsung.com (mailing list archive)
State Accepted
Commit ca7796683ff63fb1917d205d4e0173c5dadfb37d
Headers show

Commit Message

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@samsung.com>
---
 sound/soc/samsung/snow.c | 5 -----
 1 file changed, 5 deletions(-)
diff mbox

Patch

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;
 }