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

Commit ff39e0e2 authored by Laxminath Kasam's avatar Laxminath Kasam Committed by Gerrit - the friendly Code Review server
Browse files

ASoC: msm: Add ASM loopback support for HFP RX



Add MutliMedia8 dai link in machine driver to
support second session ASM loopback in RX path for
HFP feature.

CRs-Fixed: 985385
Change-Id: I3af0fec918bba79c3a6ab8a70e95a9b51c966c03
Signed-off-by: default avatarLaxminath Kasam <lkasam@codeaurora.org>
parent c624cc61
Loading
Loading
Loading
Loading
+18 −0
Original line number Diff line number Diff line
@@ -2204,6 +2204,24 @@ static struct snd_soc_dai_link msm8952_dai[] = {
		.codec_name = "snd-soc-dummy",
		.be_id = MSM_FRONTEND_DAI_VOICEMMODE2,
	},
	{/* hw:x,36 */
		.name = "MSM8916 HFP Loopback2",
		.stream_name = "MultiMedia8",
		.cpu_dai_name = "MultiMedia8",
		.platform_name  = "msm-pcm-loopback",
		.dynamic = 1,
		.dpcm_playback = 1,
		.dpcm_capture = 1,
		.codec_dai_name = "snd-soc-dummy-dai",
		.codec_name = "snd-soc-dummy",
		.trigger = {SND_SOC_DPCM_TRIGGER_POST,
			SND_SOC_DPCM_TRIGGER_POST},
		.ignore_suspend = 1,
		.no_host_mode = SND_SOC_DAI_LINK_NO_HOST,
		/* this dai link has playback support */
		.ignore_pmdown_time = 1,
		.be_id = MSM_FRONTEND_DAI_MULTIMEDIA8,
	},
	/* Backend I2S DAI Links */
	{
		.name = LPASS_BE_PRI_MI2S_RX,