提交 452a5fd6 编写于 作者: M Mark Brown

ASoC: Allow active paths from the GSM modem while the GTA02 is suspended

Acked-by: NLiam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
上级 1547aba9
......@@ -362,6 +362,14 @@ static int neo1973_gta02_wm8753_init(struct snd_soc_codec *codec)
snd_soc_dapm_disable_pin(codec, "Handset Mic");
snd_soc_dapm_disable_pin(codec, "Handset Spk");
/* allow audio paths from the GSM modem to run during suspend */
snd_soc_dapm_ignore_suspend(codec, "Stereo Out");
snd_soc_dapm_ignore_suspend(codec, "GSM Line Out");
snd_soc_dapm_ignore_suspend(codec, "GSM Line In");
snd_soc_dapm_ignore_suspend(codec, "Headset Mic");
snd_soc_dapm_ignore_suspend(codec, "Handset Mic");
snd_soc_dapm_ignore_suspend(codec, "Handset Spk");
snd_soc_dapm_sync(codec);
return 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册