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.
Acked-by: Wang Shengjiu <b02247@freescale.com>
Signed-off-by: Nicolin Chen <b42378@freescale.com>
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;
}