summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorChen Zhen <zhen1.chen@samsung.com>2014-05-23 17:59:45 +0800
committerChanho Park <chanho61.park@samsung.com>2014-11-18 11:47:53 +0900
commit53e8f5220c2647680bd3a918438137cd16f2e49f (patch)
treee5311ab93eab084ecfdcb09c3e60802459f1c7ff /sound
parentb8cd7e232e1b659acf0924ee89d5d8c63d45a7de (diff)
downloadlinux-3.10-53e8f5220c2647680bd3a918438137cd16f2e49f.tar.gz
linux-3.10-53e8f5220c2647680bd3a918438137cd16f2e49f.tar.bz2
linux-3.10-53e8f5220c2647680bd3a918438137cd16f2e49f.zip
ASoC: samsung: set clk_id to 0 to avoid misunderstanding
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>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/samsung/odroidx2_max98090.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/samsung/odroidx2_max98090.c b/sound/soc/samsung/odroidx2_max98090.c
index c84ce75d8ee..844af328835 100644
--- a/sound/soc/samsung/odroidx2_max98090.c
+++ b/sound/soc/samsung/odroidx2_max98090.c
@@ -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);