Skip to content

Commit

Permalink
ASoC: Allow active paths from the GSM modem while the GTA02 is suspended
Browse files Browse the repository at this point in the history
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
  • Loading branch information
Mark Brown committed May 10, 2010
1 parent 1547aba commit 452a5fd
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions sound/soc/s3c24xx/neo1973_gta02_wm8753.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 452a5fd

Please sign in to comment.