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: Manoj Kumar N D <quic_mnd@quicinc.com>
This commit is contained in:
Manoj Kumar N D 2022-11-14 19:14:09 +05:30 • committed by Gerrit - the friendly Code Review server
commit 9e949d228f

View file

@ -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__);
}
}
}