summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@quicinc.com>2017-05-25 15:51:27 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2017-05-25 15:51:27 -0700
commit12d9944bfafa74ea56d01716e385626c100bb87a (patch)
treeeff0a4cec1adb0e9bd782875dc55e5dadb55899c
parent8a0aed96a2b0856168af9616d9bb1f73bb1e013c (diff)
parent6e5b040ca4d273fecb026d7cc0f3eb8d9a912745 (diff)
Merge "ASoC: msm: qdsp6v2: Fix voice call and record SSR test"
-rw-r--r--sound/soc/msm/qdsp6v2/q6voice.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sound/soc/msm/qdsp6v2/q6voice.c b/sound/soc/msm/qdsp6v2/q6voice.c
index d352133b7c32..01e31578f107 100644
--- a/sound/soc/msm/qdsp6v2/q6voice.c
+++ b/sound/soc/msm/qdsp6v2/q6voice.c
@@ -479,8 +479,10 @@ static void voc_set_error_state(uint16_t reset_proc)
for (i = 0; i < MAX_VOC_SESSIONS; i++) {
v = &common.voice[i];
- if (v != NULL)
+ if (v != NULL) {
v->voc_state = VOC_ERROR;
+ v->rec_info.recording = 0;
+ }
}
}