From 20df5454665b92491ac17fd1f0296e384ff90bde Mon Sep 17 00:00:00 2001 From: Rohit kumar Date: Mon, 16 Oct 2017 15:35:56 +0530 Subject: [PATCH] asoc: sdm660: update cpu dai id for quinary mi2s interface Update quinary mi2s cpu dai id to 4 for sdm670. This is required for sending correct afe port id for quin mi2s and keep all MI2S interfaces in sequence. CRs-Fixed: 2133890 Change-Id: I0ab35f2d97858f355da577076a5a1e3f438a1bab Signed-off-by: Rohit kumar --- asoc/sdm660-ext-dai-links.c | 4 ++-- asoc/sdm660-internal.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/asoc/sdm660-ext-dai-links.c b/asoc/sdm660-ext-dai-links.c index a33113550f4c..33e8e0aa2a89 100644 --- a/asoc/sdm660-ext-dai-links.c +++ b/asoc/sdm660-ext-dai-links.c @@ -1720,7 +1720,7 @@ static struct snd_soc_dai_link msm_mi2s_be_dai_links[] = { { .name = LPASS_BE_QUIN_MI2S_RX, .stream_name = "Quinary MI2S Playback", - .cpu_dai_name = "msm-dai-q6-mi2s.5", + .cpu_dai_name = "msm-dai-q6-mi2s.4", .platform_name = "msm-pcm-routing", .codec_name = "msm-stub-codec.1", .codec_dai_name = "msm-stub-rx", @@ -1735,7 +1735,7 @@ static struct snd_soc_dai_link msm_mi2s_be_dai_links[] = { { .name = LPASS_BE_QUIN_MI2S_TX, .stream_name = "Quinary MI2S Capture", - .cpu_dai_name = "msm-dai-q6-mi2s.5", + .cpu_dai_name = "msm-dai-q6-mi2s.4", .platform_name = "msm-pcm-routing", .codec_name = "msm-stub-codec.1", .codec_dai_name = "msm-stub-tx", diff --git a/asoc/sdm660-internal.c b/asoc/sdm660-internal.c index a1536fefe635..20e49bcb1b44 100644 --- a/asoc/sdm660-internal.c +++ b/asoc/sdm660-internal.c @@ -2759,7 +2759,7 @@ static struct snd_soc_dai_link msm_mi2s_be_dai_links[] = { { .name = LPASS_BE_QUIN_MI2S_RX, .stream_name = "Quinary MI2S Playback", - .cpu_dai_name = "msm-dai-q6-mi2s.5", + .cpu_dai_name = "msm-dai-q6-mi2s.4", .platform_name = "msm-pcm-routing", .codec_name = "msm-stub-codec.1", .codec_dai_name = "msm-stub-rx", @@ -2774,7 +2774,7 @@ static struct snd_soc_dai_link msm_mi2s_be_dai_links[] = { { .name = LPASS_BE_QUIN_MI2S_TX, .stream_name = "Quinary MI2S Capture", - .cpu_dai_name = "msm-dai-q6-mi2s.5", + .cpu_dai_name = "msm-dai-q6-mi2s.4", .platform_name = "msm-pcm-routing", .codec_name = "msm-stub-codec.1", .codec_dai_name = "msm-stub-tx",