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:
parent
0abd412d83
commit
652f4b389f
1 changed files with 1 additions and 0 deletions
|
@ -14116,6 +14116,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;
|
||||
|
|
Loading…
Add table
Reference in a new issue