Merge "ASoC: msm: qdsp6v2: Set path type to LIVE_REC in LISTEN passthrough case"

This commit is contained in:
Linux Build Service Account 2017-07-16 21:04:58 -07:00 committed by Gerrit - the friendly Code Review server
commit 6a8c2e8775

View file

@ -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; port_type = MSM_AFE_PORT_TYPE_RX;
} else if (stream_type == SNDRV_PCM_STREAM_CAPTURE) { } else if (stream_type == SNDRV_PCM_STREAM_CAPTURE) {
session_type = SESSION_TYPE_TX; session_type = SESSION_TYPE_TX;
if (passthr_mode != LEGACY_PCM) if ((passthr_mode != LEGACY_PCM) && (passthr_mode != LISTEN))
path_type = ADM_PATH_COMPRESSED_TX; path_type = ADM_PATH_COMPRESSED_TX;
else else
path_type = ADM_PATH_LIVE_REC; path_type = ADM_PATH_LIVE_REC;