summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhani Kumar Uppalapati <phaniu@codeaurora.org>2016-08-10 16:29:40 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2016-08-17 16:08:59 -0700
commitbb017be51aaaab15e9168b9a277363bed8f5010c (patch)
treee97653e6ab2df1e395e3e93edb2fa26d3bf687e1
parent08970c53c20c604603ca086e2d789a9e379f5663 (diff)
ASoC: msm: Add Slimbus6 playback dai-link
Add slimbus6 playback back-end dai-link on msmcobalt platform with wcd934x audio codec. This dai-link enables audio playback over headphones. Change-Id: I83c2291909bda2473d7d0b3147b4a0244f7450b0 Signed-off-by: Phani Kumar Uppalapati <phaniu@codeaurora.org>
-rw-r--r--sound/soc/msm/msmcobalt.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/sound/soc/msm/msmcobalt.c b/sound/soc/msm/msmcobalt.c
index 4d2347aabb25..02cce66ccc48 100644
--- a/sound/soc/msm/msmcobalt.c
+++ b/sound/soc/msm/msmcobalt.c
@@ -3125,6 +3125,22 @@ static struct snd_soc_dai_link msm_tavil_be_dai_links[] = {
.ignore_pmdown_time = 1,
.ignore_suspend = 1,
},
+ {
+ .name = LPASS_BE_SLIMBUS_6_RX,
+ .stream_name = "Slimbus6 Playback",
+ .cpu_dai_name = "msm-dai-q6-dev.16396",
+ .platform_name = "msm-pcm-routing",
+ .codec_name = "tavil_codec",
+ .codec_dai_name = "tavil_rx4",
+ .no_pcm = 1,
+ .dpcm_playback = 1,
+ .be_id = MSM_BACKEND_DAI_SLIMBUS_6_RX,
+ .be_hw_params_fixup = msm_be_hw_params_fixup,
+ .ops = &msm_be_ops,
+ /* dai link has playback support */
+ .ignore_pmdown_time = 1,
+ .ignore_suspend = 1,
+ },
};
static struct snd_soc_dai_link msm_wcn_be_dai_links[] = {