diff options
author | Nicolin Chen <b42378@freescale.com> | 2013-04-02 13:39:25 +0800 |
---|---|---|
committer | Nitin Garg <nitin.garg@freescale.com> | 2014-06-03 23:00:07 -0500 |
commit | 08ac0655028a50ce8b4c7097c4e32678b6942d79 (patch) | |
tree | f849c373a4f1626424ee85249921fcfb3069a5c1 /sound | |
parent | 8be05ea54e29b7c8de9a16cc8fa7c705a6a25bfd (diff) |
ENGR00256310 ASoC: imx-wm8962: Fix playback abnormally slower issue
Previously, we didn't close FLL after playback/capture, which might cause
FLL work werid after a long time suspend.
This patch manually disables FLL after playback/capture.
Signed-off-by: Nicolin Chen <b42378@freescale.com>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/imx/imx-wm8962.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sound/soc/imx/imx-wm8962.c b/sound/soc/imx/imx-wm8962.c index 8cf4bdd577de..c99144f2b325 100644 --- a/sound/soc/imx/imx-wm8962.c +++ b/sound/soc/imx/imx-wm8962.c @@ -214,6 +214,14 @@ static int imx_hifi_hw_free(struct snd_pcm_substream *substream) pr_err("Failed to set MUTE: %d\n", ret); return ret; } + + /* Disable FLL */ + ret = snd_soc_dai_set_pll(codec_dai, WM8962_FLL, + WM8962_FLL_MCLK, 0, 0); + if (ret < 0) { + pr_err("Failed to set FLL: %d\n", ret); + return ret; + } } return 0; } |