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

Commit 9e949d22 authored by Manoj Kumar N D's avatar Manoj Kumar N D Committed by Gerrit - the friendly Code Review server
Browse files

asoc : send chanel mixer while rerouting sound device



Channel mixer has to sent while the sound devices are rerouted
as capture/playback prepare will not be called during rerouting.

Change-Id: I8473d89c7aff9f5f2a1dd2f3f4a8fa5d387b2429
Signed-off-by: default avatarManoj Kumar N D <quic_mnd@quicinc.com>
parent a716af09
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -32338,6 +32338,9 @@ static int msm_pcm_routing_prepare(struct snd_pcm_substream *substream)
				(fdai->passthr_mode == LEGACY_PCM))
				msm_pcm_routing_cfg_pp(port_id, copp_idx,
						       topology, channels);
			if(msm_pcm_routing_channel_mixer(i, fdai->perf_mode,fdai->strm_id, session_type)){
				pr_err("%s: failed to send channel mixer \n", __func__);
			}
		}
	}