From a8a95cafb37cab2d6a181f3e0bbca4beb7561e9a Mon Sep 17 00:00:00 2001 From: Vidyakumar Athota Date: Thu, 3 Nov 2016 14:12:37 -0700 Subject: ASoC: msmcobalt: Update ignore suspend for MAD_CPE out widgets Ignore suspend flag is not set for "MAD_CPE" out widgets, causing device not to go into suspend state during voice activation. Set ignore suspend flag to allow suspend during SVA use case. Change-Id: I18b7cb311e793c820da10990c47f472f7a0d0944 Signed-off-by: Vidyakumar Athota --- sound/soc/msm/msmcobalt.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sound/soc/msm/msmcobalt.c b/sound/soc/msm/msmcobalt.c index abe944b45395..c295c26a6fd7 100644 --- a/sound/soc/msm/msmcobalt.c +++ b/sound/soc/msm/msmcobalt.c @@ -3253,6 +3253,8 @@ static int msm_audrx_init(struct snd_soc_pcm_runtime *rtd) snd_soc_dapm_ignore_suspend(dapm, "Analog Mic6"); snd_soc_dapm_ignore_suspend(dapm, "MADINPUT"); snd_soc_dapm_ignore_suspend(dapm, "MAD_CPE_INPUT"); + snd_soc_dapm_ignore_suspend(dapm, "MAD_CPE_OUT1"); + snd_soc_dapm_ignore_suspend(dapm, "MAD_CPE_OUT2"); snd_soc_dapm_ignore_suspend(dapm, "EAR"); snd_soc_dapm_ignore_suspend(dapm, "LINEOUT1"); snd_soc_dapm_ignore_suspend(dapm, "LINEOUT2"); -- cgit v1.2.3