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

Commit 9df39ef1 authored by Helen Zeng's avatar Helen Zeng
Browse files

ASoC: msm8226: Add VoIP2 DAI in machine driver



Add VoIP2 front-end DAI to support VoWLAN and VoIP concurrent calls.

Change-Id: I2b6950df4638ae1f16cccfc998b2f8d8f342f690
Signed-off-by: default avatarHelen Zeng <xiaoyunz@codeaurora.org>
parent 23fe9299
Loading
Loading
Loading
Loading
+13 −0
Original line number Original line Diff line number Diff line
@@ -1317,6 +1317,19 @@ static struct snd_soc_dai_link msm8226_common_dai[] = {
		.codec_name = "snd-soc-dummy",
		.codec_name = "snd-soc-dummy",
		.be_id = MSM_FRONTEND_DAI_QCHAT,
		.be_id = MSM_FRONTEND_DAI_QCHAT,
	},
	},
	{/* hw:x,19 */
		.name = "VoIP2",
		.stream_name = "VoIP2",
		.cpu_dai_name   = "VoIP2",
		.platform_name  = "msm-voip-dsp",
		.dynamic = 1,
		.trigger = {SND_SOC_DPCM_TRIGGER_POST,
			    SND_SOC_DPCM_TRIGGER_POST},
		.ignore_suspend = 1,
		.ignore_pmdown_time = 1,
		.codec_dai_name = "snd-soc-dummy-dai",
		.codec_name = "snd-soc-dummy",
	},
	/* Backend BT/FM DAI Links */
	/* Backend BT/FM DAI Links */
	{
	{
		.name = LPASS_BE_INT_BT_SCO_RX,
		.name = LPASS_BE_INT_BT_SCO_RX,