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-08-08 15:20:01 +0900
commitca91bab6d7fcf2c61e02c1ed614698a529c24f8f (patch)
tree082aabfec55c72b4e683f2bb2481c1a4e39efec3 /sound
parentda008b5281c05e8901e7df1a6d6ec5130598a991 (diff)
downloadlinux-3.10-ca91bab6d7fcf2c61e02c1ed614698a529c24f8f.tar.gz
linux-3.10-ca91bab6d7fcf2c61e02c1ed614698a529c24f8f.tar.bz2
linux-3.10-ca91bab6d7fcf2c61e02c1ed614698a529c24f8f.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);