提交 7add84aa 编写于 作者: M Mark Brown

ASoC: Allow unspecified source when stopping WM8994 FLLs

Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
上级 ee839a21
...@@ -2853,6 +2853,11 @@ static int wm8994_set_fll(struct snd_soc_dai *dai, int id, int src, ...@@ -2853,6 +2853,11 @@ static int wm8994_set_fll(struct snd_soc_dai *dai, int id, int src,
} }
switch (src) { switch (src) {
case 0:
/* Allow no source specification when stopping */
if (freq_out)
return -EINVAL;
break;
case WM8994_FLL_SRC_MCLK1: case WM8994_FLL_SRC_MCLK1:
case WM8994_FLL_SRC_MCLK2: case WM8994_FLL_SRC_MCLK2:
case WM8994_FLL_SRC_LRCLK: case WM8994_FLL_SRC_LRCLK:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册