summaryrefslogtreecommitdiff
path: root/sound/soc/msm/msm8226.c
diff options
context:
space:
mode:
authorVicky Sehrawat <vickys@codeaurora.org>2013-06-03 17:25:15 -0700
committerStephen Boyd <sboyd@codeaurora.org>2013-09-04 17:06:15 -0700
commit6c009d571f67a15f5306e6d933249d1bbc4e43ff (patch)
treec608051675fe62fd75e364c806b6d4a6846d8c0d /sound/soc/msm/msm8226.c
parent6ccff2dfdc1ee3ebba200198415d8eea68932cd9 (diff)
ASoC: msm: Add a new backend DAI link for incall music delivery
A new backend DAI link is required for DSDA incall music delivery. This is because two different voice sessions will use different ports and backends. Change-Id: Ic82ae577d1fe1a31c8a43b3888da2af7586d89e0 Signed-off-by: Vicky Sehrawat <vickys@codeaurora.org>
Diffstat (limited to 'sound/soc/msm/msm8226.c')
-rw-r--r--sound/soc/msm/msm8226.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/sound/soc/msm/msm8226.c b/sound/soc/msm/msm8226.c
index 4b42ffa78666..ff8e14c2a81e 100644
--- a/sound/soc/msm/msm8226.c
+++ b/sound/soc/msm/msm8226.c
@@ -1316,6 +1316,19 @@ static struct snd_soc_dai_link msm8226_dai[] = {
.be_hw_params_fixup = msm_be_hw_params_fixup,
.ignore_suspend = 1,
},
+ /* Incall Music 2 BACK END DAI Link */
+ {
+ .name = LPASS_BE_VOICE2_PLAYBACK_TX,
+ .stream_name = "Voice2 Farend Playback",
+ .cpu_dai_name = "msm-dai-q6-dev.32770",
+ .platform_name = "msm-pcm-routing",
+ .codec_name = "msm-stub-codec.1",
+ .codec_dai_name = "msm-stub-rx",
+ .no_pcm = 1,
+ .be_id = MSM_BACKEND_DAI_VOICE2_PLAYBACK_TX,
+ .be_hw_params_fixup = msm_be_hw_params_fixup,
+ .ignore_suspend = 1,
+ },
};
struct snd_soc_card snd_soc_card_msm8226 = {