From 29dfffc4b2797f7c44d8f5bfadb584590b8292ca Mon Sep 17 00:00:00 2001 From: Karthikeyan Mani Date: Thu, 3 May 2018 18:48:14 -0700 Subject: [PATCH] asoc: sm8150: add dai link for dp audio multi stream transport Add dai link with the newly added BE codec dai and the same AFE CPU dai to support another stream for dp audio. Change-Id: I747107441a310e5e768dc9757093c7bba424a0d7 Signed-off-by: Karthikeyan Mani --- asoc/sm8150.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/asoc/sm8150.c b/asoc/sm8150.c index a0b669216c38..513d8447f913 100644 --- a/asoc/sm8150.c +++ b/asoc/sm8150.c @@ -6333,6 +6333,21 @@ static struct snd_soc_dai_link ext_disp_be_dai_link[] = { .ignore_pmdown_time = 1, .ignore_suspend = 1, }, + /* DISP PORT 1 BACK END DAI Link */ + { + .name = LPASS_BE_DISPLAY_PORT1, + .stream_name = "Display Port1 Playback", + .cpu_dai_name = "msm-dai-q6-dp.24608", + .platform_name = "msm-pcm-routing", + .codec_name = "msm-ext-disp-audio-codec-rx", + .codec_dai_name = "msm_dp_audio_codec_rx1_dai", + .no_pcm = 1, + .dpcm_playback = 1, + .id = MSM_BACKEND_DAI_DISPLAY_PORT_RX_1, + .be_hw_params_fixup = msm_be_hw_params_fixup, + .ignore_pmdown_time = 1, + .ignore_suspend = 1, + }, }; static struct snd_soc_dai_link msm_mi2s_be_dai_links[] = {