diff options
| author | Vidyakumar Athota <vathota@codeaurora.org> | 2017-01-27 16:43:24 -0800 |
|---|---|---|
| committer | Vidyakumar Athota <vathota@codeaurora.org> | 2017-01-27 18:13:22 -0800 |
| commit | 6730f24eeda5f9bcb3e699e4d67583bf58c9b2ec (patch) | |
| tree | 1d90b139e8a7c57cf4aa30321c040502a9a0d5fd | |
| parent | 82a012769b5ee1ca155d5f88dac24f6c3aeab334 (diff) | |
ASoC: msm8998: enable ignore suspend flag for ANC
Ignore suspend flag is enabled for Active Noise Cancellation(ANC)
widgets to avoid mute if playback is going on during suspend.
Change-Id: I180fe5c1bc3f05d61b4fd7fb5eb453e0faac4b8e
Signed-off-by: Vidyakumar Athota <vathota@codeaurora.org>
| -rw-r--r-- | sound/soc/msm/msm8998.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/msm/msm8998.c b/sound/soc/msm/msm8998.c index 4af737680118..f92e7c31aff0 100644 --- a/sound/soc/msm/msm8998.c +++ b/sound/soc/msm/msm8998.c @@ -3382,12 +3382,12 @@ static int msm_audrx_init(struct snd_soc_pcm_runtime *rtd) snd_soc_dapm_ignore_suspend(dapm, "HPHR"); snd_soc_dapm_ignore_suspend(dapm, "AIF4 VI"); snd_soc_dapm_ignore_suspend(dapm, "VIINPUT"); + snd_soc_dapm_ignore_suspend(dapm, "ANC HPHL"); + snd_soc_dapm_ignore_suspend(dapm, "ANC HPHR"); if (!strcmp(dev_name(codec_dai->dev), "tasha_codec")) { snd_soc_dapm_ignore_suspend(dapm, "LINEOUT3"); snd_soc_dapm_ignore_suspend(dapm, "LINEOUT4"); - snd_soc_dapm_ignore_suspend(dapm, "ANC HPHL"); - snd_soc_dapm_ignore_suspend(dapm, "ANC HPHR"); snd_soc_dapm_ignore_suspend(dapm, "ANC LINEOUT1"); snd_soc_dapm_ignore_suspend(dapm, "ANC LINEOUT2"); } |
