From 9ae91fb765ba32478c6aeb67f978cf821ee57238 Mon Sep 17 00:00:00 2001 From: Bhalchandra Gajare Date: Wed, 14 Feb 2018 18:12:43 -0800 Subject: [PATCH] ASoC: wcd934x: mark wdma3 output widget as ignore_suspend Paths using WDMA3_OUT widget are currently not marked to be ignored during suspend, which results in the path teardown during suspend. Due to this the audio use-case is broken. Fix this by marking WDMA3_OUT widget as ignore_suspend. CRs-fixed: 2176596 Change-Id: I72a2dda21aabfe9b13ea8660d4e3a51b3185d9ea Signed-off-by: Bhalchandra Gajare --- asoc/codecs/wcd934x/wcd934x.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/asoc/codecs/wcd934x/wcd934x.c b/asoc/codecs/wcd934x/wcd934x.c index 44f741e795..dfa40de8d6 100644 --- a/asoc/codecs/wcd934x/wcd934x.c +++ b/asoc/codecs/wcd934x/wcd934x.c @@ -10298,6 +10298,8 @@ static int tavil_soc_codec_probe(struct snd_soc_codec *codec) snd_soc_dapm_ignore_suspend(dapm, "AIF2 Capture"); snd_soc_dapm_ignore_suspend(dapm, "AIF3 Playback"); snd_soc_dapm_ignore_suspend(dapm, "AIF3 Capture"); + snd_soc_dapm_ignore_suspend(dapm, "WDMA3_OUT"); + if (tavil->intf_type == WCD9XXX_INTERFACE_TYPE_SLIMBUS) { snd_soc_dapm_ignore_suspend(dapm, "AIF4 Playback"); snd_soc_dapm_ignore_suspend(dapm, "AIF4 MAD TX");