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:15:38 +0800
commit764c562ff2ba96104af7626b2f3163208a88fb96 (patch)
tree9ab48f09cc682e300987376798724a1684f7a206 /sound
parent76a61369b32149dd71333284295a1c57e2287120 (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);