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

Commit f104ac7a authored by Vicky Sehrawat's avatar Vicky Sehrawat
Browse files

ASoC: msm8226: Add VoWLAN dia link



Add VoWLAN dai link to the machine driver
to enable Voice over WLAN.

Change-Id: I95bb662b525ac035ec88daf62f730ccf60f6bd9e
Signed-off-by: default avatarVicky Sehrawat <vickys@codeaurora.org>
parent e44e04e9
Loading
Loading
Loading
Loading
+17 −2
Original line number Diff line number Diff line
@@ -1610,7 +1610,7 @@ static struct snd_soc_dai_link msm8226_common_dai[] = {
		.codec_name = "snd-soc-dummy",
		.be_id = MSM_FRONTEND_DAI_LSM8,
	},
	{
	{/* hw:x,28 */
		.name = "INT_HFP_BT Hostless",
		.stream_name = "INT_HFP_BT Hostless",
		.cpu_dai_name   = "INT_HFP_BT_HOSTLESS",
@@ -1625,7 +1625,7 @@ static struct snd_soc_dai_link msm8226_common_dai[] = {
		.codec_dai_name = "snd-soc-dummy-dai",
		.codec_name = "snd-soc-dummy",
	},
	{
	{/* hw:x,29 */
		.name = "MSM8226 HFP TX",
		.stream_name = "MultiMedia6",
		.cpu_dai_name = "MultiMedia6",
@@ -1641,6 +1641,21 @@ static struct snd_soc_dai_link msm8226_common_dai[] = {
		.ignore_pmdown_time = 1,
		.be_id = MSM_FRONTEND_DAI_MULTIMEDIA6,
	},
	{/* hw:x,30 */
		.name = "VoWLAN",
		.stream_name = "VoWLAN",
		.cpu_dai_name   = "VoWLAN",
		.platform_name  = "msm-pcm-voice",
		.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_VOWLAN,
	},
	/* Backend BT/FM DAI Links */
	{
		.name = LPASS_BE_INT_BT_SCO_RX,