ASoC: Allow active paths from the GSM modem while the GTA02 is suspended
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 7 May 2010 20:18:53 +0000 (21:18 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 10 May 2010 09:37:04 +0000 (10:37 +0100)
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/s3c24xx/neo1973_gta02_wm8753.c

index dea83d30a5c9e821fe4cada5fae2e6981d1b3188..209c25994c7e41b78b92fe5876cb8be28a7cecc3 100644 (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;