summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorNicolin Chen <b42378@freescale.com>2013-04-01 17:52:17 +0800
committerNicolin Chen <b42378@freescale.com>2013-04-01 18:22:04 +0800
commitf242f31ed2f0f680dafc34ff705d45f0997f05f4 (patch)
tree01d2db136fc9d0622ed87a5042aa18a51c8eb566 /sound
parent1151a5a99e807caedfd98118922b9ab38651d4ea (diff)
ENGR00256820-2 ASoC: imx-wm8962: Fix incorrect setting of wm8962's FLL source
WM8962's internal FLL is sourced from MCLK on SabreSD, while the machine driver set its source to OSC, which's definitely wrong. So This patch changed its source to MCLK to prevent some potential issue. Acked-by: Wang Shengjiu <b02247@freescale.com> Signed-off-by: Nicolin Chen <b42378@freescale.com>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/imx/imx-wm8962.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/imx/imx-wm8962.c b/sound/soc/imx/imx-wm8962.c
index a19e5273563d..8cf4bdd577de 100644
--- a/sound/soc/imx/imx-wm8962.c
+++ b/sound/soc/imx/imx-wm8962.c
@@ -163,8 +163,8 @@ static int imx_hifi_hw_params(struct snd_pcm_substream *substream,
else
pll_out = sample_rate * 256;
- ret = snd_soc_dai_set_pll(codec_dai, WM8962_FLL_OSC,
- WM8962_FLL_OSC, priv->sysclk,
+ ret = snd_soc_dai_set_pll(codec_dai, WM8962_FLL_MCLK,
+ WM8962_FLL_MCLK, priv->sysclk,
pll_out);
if (ret < 0)
pr_err("Failed to start FLL: %d\n", ret);