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

Commit d30f9469 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 c6bb29d0 fbc7ff21
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -11901,10 +11901,10 @@ static int msm_pcm_routing_prepare(struct snd_pcm_substream *substream)
			pr_debug("%s voice session_id: 0x%x",
				 __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);
			voc_set_device_config(session_id,  voc_path_type,