Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5c161901 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "ASoC: msm: qdsp6v2: set voc type according to stream type"

parents cf2d68fe f5f76777
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -14278,10 +14278,10 @@ static int msm_pcm_routing_prepare(struct snd_pcm_substream *substream)
			pr_debug("%s voice session_id: 0x%x\n", __func__,
				 session_id);
			if (session_type == SESSION_TYPE_TX)
				voc_path_type = TX_PATH;
			else
			if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK)
				voc_path_type = RX_PATH;
			else
				voc_path_type = TX_PATH;
			voc_set_route_flag(session_id, voc_path_type, 1);