summaryrefslogtreecommitdiff
path: root/sound/soc
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@quicinc.com>2017-07-16 21:04:58 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2017-07-16 21:04:57 -0700
commit6a8c2e8775e69826b6d8a7a08e8e16b515cb15ac (patch)
treec66db2f965ccc7ffc1770862bd50fc32b2028fa2 /sound/soc
parentca718c036b95e9ab786f11f72b254a7e0ef2d958 (diff)
parentaea170507758700faf5f10b97466b6d829567fb0 (diff)
Merge "ASoC: msm: qdsp6v2: Set path type to LIVE_REC in LISTEN passthrough case"
Diffstat (limited to 'sound/soc')
-rw-r--r--sound/soc/msm/qdsp6v2/msm-pcm-routing-v2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/msm/qdsp6v2/msm-pcm-routing-v2.c b/sound/soc/msm/qdsp6v2/msm-pcm-routing-v2.c
index 9d1e20f71829..2bf61521ad52 100644
--- a/sound/soc/msm/qdsp6v2/msm-pcm-routing-v2.c
+++ b/sound/soc/msm/qdsp6v2/msm-pcm-routing-v2.c
@@ -1092,7 +1092,7 @@ int msm_pcm_routing_reg_phy_compr_stream(int fe_id, int perf_mode,
port_type = MSM_AFE_PORT_TYPE_RX;
} else if (stream_type == SNDRV_PCM_STREAM_CAPTURE) {
session_type = SESSION_TYPE_TX;
- if (passthr_mode != LEGACY_PCM)
+ if ((passthr_mode != LEGACY_PCM) && (passthr_mode != LISTEN))
path_type = ADM_PATH_COMPRESSED_TX;
else
path_type = ADM_PATH_LIVE_REC;