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

Commit 211f4896 authored by Sudheer Papothi's avatar Sudheer Papothi
Browse files

ASoC: wcd938x: Add dapm ignore suspend for DAIs



Add dapm ignore suspend for playback and capture DAIs to
avoid wakeup during power collapse.

Change-Id: If023597542423253a565dcf0f13ee9f08b357b93
Signed-off-by: default avatarSudheer Papothi <spapothi@codeaurora.org>
parent 1db5a7d4
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -3634,6 +3634,8 @@ static int wcd938x_soc_codec_probe(struct snd_soc_component *component)
		goto err_hwdep;
		goto err_hwdep;
	}
	}


	snd_soc_dapm_ignore_suspend(dapm, "WCD938X_AIF Playback");
	snd_soc_dapm_ignore_suspend(dapm, "WCD938X_AIF Capture");
	snd_soc_dapm_ignore_suspend(dapm, "AMIC1");
	snd_soc_dapm_ignore_suspend(dapm, "AMIC1");
	snd_soc_dapm_ignore_suspend(dapm, "AMIC2");
	snd_soc_dapm_ignore_suspend(dapm, "AMIC2");
	snd_soc_dapm_ignore_suspend(dapm, "AMIC3");
	snd_soc_dapm_ignore_suspend(dapm, "AMIC3");