From 71c5742805c69a85c990aa41b9dfe2993a15adf6 Mon Sep 17 00:00:00 2001 From: Shiv Maliyappanahalli Date: Tue, 23 Jul 2013 15:56:38 -0700 Subject: ASoC: msm: Add VoLTE Frontend to machine driver Add the new VoLTE Frontend to machine driver to enable Voice over LTE. CRs-fixed: 517349 Change-Id: Idf87db6fb4af017f556cd4b663182e44f7840efc Signed-off-by: Shiv Maliyappanahalli --- sound/soc/msm/msm8226.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'sound/soc/msm/msm8226.c') diff --git a/sound/soc/msm/msm8226.c b/sound/soc/msm/msm8226.c index 6c744201914c..4f81c54e54b6 100644 --- a/sound/soc/msm/msm8226.c +++ b/sound/soc/msm/msm8226.c @@ -1146,6 +1146,22 @@ static struct snd_soc_dai_link msm8226_dai[] = { .ignore_pmdown_time = 1, .be_id = MSM_FRONTEND_DAI_MULTIMEDIA9, }, + { + .name = "VoLTE", + .stream_name = "VoLTE", + .cpu_dai_name = "VoLTE", + .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, + /* 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_VOLTE, + }, /* Backend BT/FM DAI Links */ { .name = LPASS_BE_INT_BT_SCO_RX, -- cgit v1.2.3