ASoC: samsung: set clk_id to 0 to avoid misunderstanding 06/21606/3
authorChen Zhen <zhen1.chen@samsung.com>
Fri, 23 May 2014 09:59:45 +0000 (17:59 +0800)
committerSylwester Nawrocki <s.nawrocki@samsung.com>
Mon, 26 May 2014 09:08:45 +0000 (02:08 -0700)
it's obviously that codec driver has no routing handle for clk_id,
so just supply 0 for it.

Change-Id: I29b14ef8110b580a52502497728c049284b050a1
Signed-off-by: Chen Zhen <zhen1.chen@samsung.com>
sound/soc/samsung/odroidx2_max98090.c

index c84ce75..844af32 100644 (file)
@@ -25,8 +25,8 @@ static int odroidx2_hw_params(struct snd_pcm_substream *substream,
        struct snd_soc_dai *codec_dai = rtd->codec_dai;
        int ret;
 
-       ret = snd_soc_dai_set_sysclk(codec_dai, 3,
-                                    MAX98090_MCLK, SND_SOC_CLOCK_IN);
+       ret = snd_soc_dai_set_sysclk(codec_dai, 0, MAX98090_MCLK,
+                                               SND_SOC_CLOCK_IN);
        if (ret < 0) {
                dev_err(codec_dai->dev,
                        "Unable to switch to FLL1: %d\n", ret);