summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGangadhar S <gangadha@codeaurora.org>2020-09-17 10:34:30 +0530
committerGerrit - the friendly Code Review server <code-review@localhost>2020-09-17 02:06:45 -0700
commitdce57d817758260a14181dece4a2c8b92887e6e9 (patch)
treea51435e6a5dcf66ce8717b892bcde5438599d189
parent2216f758d2632e82ccdf907db4745d4e2eb6d527 (diff)
asoc: msm: qdsp6v2: update passthru value for pcm stream
With passthru val not set, incorrect path is used. Update the passthrough value with pcm passthru registration. Change-Id: I1f33401285c61ff2011db2e194875adbe9507c06 Signed-off-by: Gangadhar S <gangadha@codeaurora.org>
-rw-r--r--sound/soc/msm/qdsp6v2/msm-pcm-routing-v2.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sound/soc/msm/qdsp6v2/msm-pcm-routing-v2.c b/sound/soc/msm/qdsp6v2/msm-pcm-routing-v2.c
index e0a41de1e095..b3b5ebd4d5a2 100644
--- a/sound/soc/msm/qdsp6v2/msm-pcm-routing-v2.c
+++ b/sound/soc/msm/qdsp6v2/msm-pcm-routing-v2.c
@@ -1571,6 +1571,10 @@ int msm_pcm_routing_reg_phy_stream(int fedai_id, int perf_mode,
/* re-enable EQ if active */
msm_qti_pp_send_eq_values(fedai_id);
for (i = 0; i < MSM_BACKEND_DAI_MAX; i++) {
+
+ if (test_bit(fedai_id, &msm_bedais[i].fe_sessions[0]))
+ msm_bedais[i].passthr_mode[fedai_id] = LEGACY_PCM;
+
if (!is_be_dai_extproc(i) &&
(afe_get_port_type(msm_bedais[i].port_id) == port_type) &&
(msm_bedais[i].active) &&