commit | 45963de212f17bbd7a892a895d5febca7364eb32 | [log] [tgz] |
---|---|---|
author | Ben Romberger <bromberg@codeaurora.org> | Thu Apr 27 13:15:23 2017 -0700 |
committer | Banajit Goswami <bgoswami@codeaurora.org> | Tue Jun 13 09:26:36 2017 -0700 |
tree | d9aacf09c44b0bb7c8b0a7489c6c58f61e9d361e | |
parent | ff9171eac45d2d5626a84a8dc5fadc71ecf8cb95 [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>
diff --git a/sound/soc/msm/qdsp6v2/msm-pcm-routing-v2.c b/sound/soc/msm/qdsp6v2/msm-pcm-routing-v2.c index c9b4fcf..6d20747 100644 --- a/sound/soc/msm/qdsp6v2/msm-pcm-routing-v2.c +++ b/sound/soc/msm/qdsp6v2/msm-pcm-routing-v2.c
@@ -14125,6 +14125,7 @@ bedai->active = 0; bedai->sample_rate = 0; bedai->channel = 0; + bedai->passthr_mode = LEGACY_PCM; mutex_unlock(&routing_lock); return 0;