From a2748324655a71f4d0ab9ddc37e61b69f8178d7b Mon Sep 17 00:00:00 2001 From: Sudheer Papothi Date: Sat, 30 Jul 2016 00:02:29 +0530 Subject: ASoC: msmcobalt: Add dai-link for VI feedback Add slimbus dai-link to send data from VI feedback path to DSP for speaker protection usecase. Change-Id: I34785a7dd2b141c521c3f2623966459b18a80364 Signed-off-by: Sudheer Papothi --- sound/soc/msm/msmcobalt.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/sound/soc/msm/msmcobalt.c b/sound/soc/msm/msmcobalt.c index 945250babf2d..ec9b3ad4d80a 100644 --- a/sound/soc/msm/msmcobalt.c +++ b/sound/soc/msm/msmcobalt.c @@ -2700,6 +2700,19 @@ static struct snd_soc_dai_link msm_tasha_fe_dai_links[] = { }; static struct snd_soc_dai_link msm_tavil_fe_dai_links[] = { + { + .name = LPASS_BE_SLIMBUS_4_TX, + .stream_name = "Slimbus4 Capture", + .cpu_dai_name = "msm-dai-q6-dev.16393", + .platform_name = "msm-pcm-hostless", + .codec_name = "tavil_codec", + .codec_dai_name = "tavil_vifeedback", + .be_id = MSM_BACKEND_DAI_SLIMBUS_4_TX, + .be_hw_params_fixup = msm_be_hw_params_fixup, + .ops = &msm_be_ops, + .no_host_mode = SND_SOC_DAI_LINK_NO_HOST, + .ignore_suspend = 1, + }, /* Ultrasound RX DAI Link */ { .name = "SLIMBUS_2 Hostless Playback", -- cgit v1.2.3