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: Ben Romberger <bromberg@codeaurora.org>
This commit is contained in:
Ben Romberger 2017-04-27 13:15:23 -07:00 committed by Gerrit - the friendly Code Review server
parent 0abd412d83
commit 652f4b389f

View file

@ -14116,6 +14116,7 @@ static int msm_pcm_routing_close(struct snd_pcm_substream *substream)
bedai->active = 0; bedai->active = 0;
bedai->sample_rate = 0; bedai->sample_rate = 0;
bedai->channel = 0; bedai->channel = 0;
bedai->passthr_mode = LEGACY_PCM;
mutex_unlock(&routing_lock); mutex_unlock(&routing_lock);
return 0; return 0;