diff options
| author | Ben Romberger <bromberg@codeaurora.org> | 2017-04-27 13:15:23 -0700 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2017-04-27 15:23:14 -0700 |
| commit | 652f4b389f9e496466f3d36c4a7d71f6c84c0d06 (patch) | |
| tree | 99fc135b7acee0c537936dc11fd1fb441a39dfc4 | |
| parent | 0abd412d833e1f914d366a89d533bcb5cd6be7c7 (diff) | |
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>
| -rw-r--r-- | sound/soc/msm/qdsp6v2/msm-pcm-routing-v2.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/msm/qdsp6v2/msm-pcm-routing-v2.c b/sound/soc/msm/qdsp6v2/msm-pcm-routing-v2.c index f461f360d88d..79c099732ba2 100644 --- a/sound/soc/msm/qdsp6v2/msm-pcm-routing-v2.c +++ b/sound/soc/msm/qdsp6v2/msm-pcm-routing-v2.c @@ -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; |
