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

Commit ccf92120 authored by Yamit Mehta's avatar Yamit Mehta Committed by Gerrit - the friendly Code Review server
Browse files

ASoC: apq8009: Handle power suspend scenario for SVA CPE mode



Register widgets required for cpe mode to disgard suspend events
to ensure detection works when usb is disconnected.

CRs-Fixed: 2008948
Change-Id: Ie6009d5aec0ae66b1c68aaee959c4ca26b7cc4af
Signed-off-by: default avatarYamit Mehta <ymehta@codeaurora.org>
parent db8a1de4
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -997,6 +997,10 @@ static int msm_audrx_init_wcd(struct snd_soc_pcm_runtime *rtd)
	snd_soc_dapm_ignore_suspend(dapm, "DMIC3");
	snd_soc_dapm_ignore_suspend(dapm, "SPK1 OUT");
	snd_soc_dapm_ignore_suspend(dapm, "SPK2 OUT");

	snd_soc_dapm_ignore_suspend(dapm, "MAD_CPE_INPUT");
	snd_soc_dapm_ignore_suspend(dapm, "MADINPUT");

	snd_soc_dapm_sync(dapm);

	/* start mbhc */