From: Sylwester Nawrocki Date: Fri, 9 Mar 2018 17:48:57 +0000 (+0100) Subject: ASoC: samsung: Drop uneeded RCLKSRC setting in the Snow driver X-Git-Tag: v5.15~8593^2~32^2~54^2~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ca7796683ff63fb1917d205d4e0173c5dadfb37d;p=platform%2Fkernel%2Flinux-starfive.git ASoC: samsung: Drop uneeded RCLKSRC setting in the Snow driver The RCLKSRC mux input 0 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 Acked-by: Krzysztof Kozlowski Signed-off-by: Mark Brown --- diff --git a/sound/soc/samsung/snow.c b/sound/soc/samsung/snow.c index d8ac907..fc62110 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; }