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

Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
This commit is contained in:
Mark Brown 2010-05-07 21:18:53 +01:00
parent 1547aba993
commit 452a5fd679

View File

@ -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;