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

Commit 2b0a51c7 authored by Helen Zeng's avatar Helen Zeng
Browse files

ASoC: apq8084: Add support for the second voice call



Create new front end dai called Voice2 Stub to support
the second subscriber voice call for DSDS/DSDA/SGLTE.

Change-Id: I85441ef8f235bf05ff7b4dcafb8b474f4ddeeea3
Signed-off-by: default avatarHelen Zeng <xiaoyunz@codeaurora.org>
parent 219364c5
Loading
Loading
Loading
Loading
+15 −0
Original line number Diff line number Diff line
@@ -2574,6 +2574,21 @@ static struct snd_soc_dai_link apq8084_common_dai_links[] = {
		.no_host_mode = SND_SOC_DAI_LINK_NO_HOST,
		.ops = &apq8084_slimbus_2_be_ops,
	},
	{
		.name = "Voice2 Stub",
		.stream_name = "Voice2 Stub",
		.cpu_dai_name = "VOICE2_STUB",
		.platform_name = "msm-pcm-hostless",
		.dynamic = 1,
		.trigger = {SND_SOC_DPCM_TRIGGER_POST,
			    SND_SOC_DPCM_TRIGGER_POST},
		.no_host_mode = SND_SOC_DAI_LINK_NO_HOST,
		.ignore_suspend = 1,
		.ignore_pmdown_time = 1,
		/* this dainlink has playback support */
		.codec_dai_name = "snd-soc-dummy-dai",
		.codec_name = "snd-soc-dummy",
	},
	/* Backend AFE DAI Links */
	{
		.name = LPASS_BE_AFE_PCM_RX,