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

Commit 3dbd6349 authored by Krishnankutty Kolathappilly's avatar Krishnankutty Kolathappilly
Browse files

ASoC: msm8226: Add/update dai-links



Add new dai-link for compress cature and listen. Update the dai-link
index for voip 2 from 19 to 21.

Change-Id: I9a7ea541dc6cca68caa4f74be14c7ddc72e0df6c
Signed-off-by: default avatarKrishnankutty Kolathappilly <kkolat@codeaurora.org>
parent b8c8a393
Loading
Loading
Loading
Loading
+31 −0
Original line number Diff line number Diff line
@@ -1334,7 +1334,38 @@ static struct snd_soc_dai_link msm8226_common_dai[] = {
		.codec_name = "snd-soc-dummy",
		.be_id = MSM_FRONTEND_DAI_QCHAT,
	},
	/* LSM FE */
	{/* hw:x,19 */
		.name = "Listen Audio Service",
		.stream_name = "Listen Audio Service",
		.cpu_dai_name = "LSM",
		.platform_name = "msm-lsm-client",
		.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,
		.codec_dai_name = "snd-soc-dummy-dai",
		.codec_name = "snd-soc-dummy",
		.be_id = MSM_FRONTEND_DAI_LSM1,
	},
	{/* hw:x,20 */
		.name = "MSM8226 Compr8",
		.stream_name = "COMPR8",
		.cpu_dai_name   = "MultiMedia8",
		.platform_name  = "msm-compr-dsp",
		.dynamic = 1,
		.trigger = {SND_SOC_DPCM_TRIGGER_POST,
			SND_SOC_DPCM_TRIGGER_POST},
		.codec_dai_name = "snd-soc-dummy-dai",
		.codec_name = "snd-soc-dummy",
		.ignore_suspend = 1,
		.ignore_pmdown_time = 1,
		/* this dainlink has playback support */
		.be_id = MSM_FRONTEND_DAI_MULTIMEDIA8,
	},
	{/* hw:x,21 */
		.name = "VoIP2",
		.stream_name = "VoIP2",
		.cpu_dai_name   = "VoIP2",