提交 db0e5543 编写于 作者: M Mark Brown

ASoC: Enable SYSCLK last when enabling WM8962 mic detection

Ensure everything is set up before we start detecting.
Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
上级 2a761cde
......@@ -3661,6 +3661,9 @@ int wm8962_mic_detect(struct snd_soc_codec *codec, struct snd_soc_jack *jack)
snd_soc_jack_report(wm8962->jack, 0,
SND_JACK_MICROPHONE | SND_JACK_BTN_0);
if (jack)
snd_soc_dapm_force_enable_pin(&codec->dapm, "SYSCLK");
return 0;
}
EXPORT_SYMBOL_GPL(wm8962_mic_detect);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册