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

Commit 9d0562d7 authored by Pallavi's avatar Pallavi Committed by Gerrit - the friendly Code Review server
Browse files

ASoC: msm: Add QCHAT as Front-end DAI link



Add QCHAT as Front-end DAI link to mdm9607 DAI link list.
This DAI link supports QCHAT on mdm9607.

CRs-Fixed: 2153783
Change-Id: Id3861664f371482454038491f42f52097238fede
Signed-off-by: default avatarPallavi <pallavim@codeaurora.org>
parent 3aafa883
Loading
Loading
Loading
Loading
+18 −0
Original line number Diff line number Diff line
@@ -1927,6 +1927,24 @@ static struct snd_soc_dai_link mdm_dai[] = {
		/* this dainlink has playback support */
		.be_id = MSM_FRONTEND_DAI_MULTIMEDIA4,
	},
	{
		.name = "QCHAT",
		.stream_name = "QCHAT",
		.cpu_dai_name = "QCHAT",
		.platform_name = "msm-pcm-voice",
		.dynamic = 1,
		.dpcm_capture = 1,
		.dpcm_playback = 1,
		.trigger = {SND_SOC_DPCM_TRIGGER_POST,
			    SND_SOC_DPCM_TRIGGER_POST},
		.no_host_mode = SND_SOC_DAI_LINK_NO_HOST,
		.ignore_suspend = 1,
		/* this dainlink has playback support */
		.ignore_pmdown_time = 1,
		.codec_dai_name = "snd-soc-dummy-dai",
		.codec_name = "snd-soc-dummy",
		.be_id = MSM_FRONTEND_DAI_QCHAT,
	},
	/* Backend DAI Links */
	{
		.name = LPASS_BE_AFE_PCM_RX,