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

Commit 45963de2 authored by Ben Romberger's avatar Ben Romberger Committed by Banajit Goswami
Browse files

ASoC: msm: qdsp6v2: Clear pass-through mode on routing close



On close of the routing driver clear the pass-through
mode flag of the backend dai.

Change-Id: Ie09d687bf418d77e8442da6da7ced3cc3788a5da
Signed-off-by: default avatarBen Romberger <bromberg@codeaurora.org>
parent ff9171ea
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -14125,6 +14125,7 @@ static int msm_pcm_routing_close(struct snd_pcm_substream *substream)
	bedai->active = 0;
	bedai->sample_rate = 0;
	bedai->channel = 0;
	bedai->passthr_mode = LEGACY_PCM;
	mutex_unlock(&routing_lock);
	return 0;