diff mbox

[v2,6/7] ASoC: samsung: Drop uneeded RCLKSRC setting in the Snow driver

Message ID 20180309174858.24017-6-s.nawrocki@samsung.com (mailing list archive)
State Not Applicable
Headers show

Commit Message

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 <s.nawrocki@samsung.com>
---
Changes since v1:
 - none.
---
 sound/soc/samsung/snow.c | 5 -----
 1 file changed, 5 deletions(-)

Comments

Krzysztof Kozlowski March 12, 2018, 7:35 a.m. UTC | #1
On Fri, Mar 9, 2018 at 6:48 PM, Sylwester Nawrocki
<s.nawrocki@samsung.com> wrote:
> 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 <s.nawrocki@samsung.com>
> ---
> Changes since v1:
>  - none.
> ---
>  sound/soc/samsung/snow.c | 5 -----
>  1 file changed, 5 deletions(-)

Acked-by: Krzysztof Kozlowski <krzk@kernel.org>

Best regards,
Krzysztof
--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
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;
 }