summaryrefslogtreecommitdiff
path: root/sound/soc/fsl/imx-wm8960.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/fsl/imx-wm8960.c')
-rw-r--r--sound/soc/fsl/imx-wm8960.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sound/soc/fsl/imx-wm8960.c b/sound/soc/fsl/imx-wm8960.c
index e77136ef7ee5..6184a276456f 100644
--- a/sound/soc/fsl/imx-wm8960.c
+++ b/sound/soc/fsl/imx-wm8960.c
@@ -195,8 +195,10 @@ static int imx_hifi_hw_free(struct snd_pcm_substream *substream)
data->is_stream_in_use[tx] = false;
/* Power down PLL to save power*/
- if (data->is_codec_master && !data->is_stream_in_use[!tx])
+ if (data->is_codec_master && !data->is_stream_in_use[!tx]) {
snd_soc_dai_set_pll(codec_dai, 0, 0, 0, 0);
+ snd_soc_dai_set_fmt(codec_dai, SND_SOC_DAIFMT_CBS_CFS | SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_NF);
+ }
return 0;
}