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

Commit 678811c2 authored by Gopikrishnaiah Anand's avatar Gopikrishnaiah Anand Committed by Gopikrishnaiah Anandan
Browse files

ASoC: msm: 8084: update ignore suspend flags



8084 machine driver should register the dailinks with ignore suspend
flag set to prevent audio/voice usecase being affected when system
is suspended/resumed.This change updates the ingore suspend flags
in machine driver for dailinks and input/output widgets.

Change-Id: I12396e0129e1ea5f6af60f06f17aed039a952ab6
CRs-fixed: 643516
Signed-off-by: default avatarGopikrishnaiah Anandan <agopik@codeaurora.org>
parent 2f04273d
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1721,6 +1721,7 @@ static int msm_audrx_init(struct snd_soc_pcm_runtime *rtd)
	snd_soc_dapm_ignore_suspend(dapm, "Digital Mic5");
	snd_soc_dapm_ignore_suspend(dapm, "Digital Mic6");

	snd_soc_dapm_ignore_suspend(dapm, "MADINPUT");
	snd_soc_dapm_ignore_suspend(dapm, "EAR");
	snd_soc_dapm_ignore_suspend(dapm, "HEADPHONE");
	snd_soc_dapm_ignore_suspend(dapm, "LINEOUT1");
@@ -1734,6 +1735,8 @@ static int msm_audrx_init(struct snd_soc_pcm_runtime *rtd)
	snd_soc_dapm_ignore_suspend(dapm, "AMIC2");
	snd_soc_dapm_ignore_suspend(dapm, "AMIC3");
	snd_soc_dapm_ignore_suspend(dapm, "AMIC4");
	snd_soc_dapm_ignore_suspend(dapm, "AMIC5");
	snd_soc_dapm_ignore_suspend(dapm, "AMIC6");
	snd_soc_dapm_ignore_suspend(dapm, "DMIC1");
	snd_soc_dapm_ignore_suspend(dapm, "DMIC2");
	snd_soc_dapm_ignore_suspend(dapm, "DMIC3");
@@ -3073,6 +3076,7 @@ static struct snd_soc_dai_link apq8084_tomtom_be_dai_links[] = {
		.be_id = MSM_BACKEND_DAI_SLIMBUS_5_TX,
		.be_hw_params_fixup = msm_slim_5_tx_be_hw_params_fixup,
		.ops = &apq8084_be_ops,
		.ignore_suspend = 1,
	},
	{
		.name = LPASS_BE_STUB_RX,