Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit eddefdb0 authored by Sudheer Papothi's avatar Sudheer Papothi Committed by Gerrit - the friendly Code Review server
Browse files

ASoC: wcd934x: Add dapm ignore suspend for backend dais



DAPM marks back end dai as dirty during ASoC suspend
which triggers device path teardown. Add ignore suspend
to all back end dais to avoid device path teardown.

Change-Id: I9951f061ad22cc91eba1c75aba3bdfbdde904cb9
Signed-off-by: default avatarSudheer Papothi <spapothi@codeaurora.org>
parent 4e2a8a0f
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -7933,6 +7933,15 @@ static int tavil_soc_codec_probe(struct snd_soc_codec *codec)
	snd_soc_dapm_enable_pin(dapm, "ANC SPK1 PA");
	mutex_unlock(&tavil->codec_mutex);

	snd_soc_dapm_ignore_suspend(dapm, "AIF1 Playback");
	snd_soc_dapm_ignore_suspend(dapm, "AIF1 Capture");
	snd_soc_dapm_ignore_suspend(dapm, "AIF2 Playback");
	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, "AIF4 Playback");
	snd_soc_dapm_ignore_suspend(dapm, "VIfeed");

	snd_soc_dapm_sync(dapm);

	tavil_wdsp_initialize(codec);