ASoC: msm: qdsp6v2: Fix voice call and record SSR test
Start voice call and sound recorder app, followed by ADSP SSR. After SSR, start again voice call and sound recorder app, and recording usecase fails. Reset recording flag in vocoder info when RESET_EVENTS callback handled. CRs-Fixed: 2037587 Change-Id: I232fef3b9ecddeeede559a4cbafa6abf86fc343d Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
This commit is contained in:
parent
e3c33c9d53
commit
6e5b040ca4
1 changed files with 3 additions and 1 deletions
|
@ -479,8 +479,10 @@ static void voc_set_error_state(uint16_t reset_proc)
|
||||||
|
|
||||||
for (i = 0; i < MAX_VOC_SESSIONS; i++) {
|
for (i = 0; i < MAX_VOC_SESSIONS; i++) {
|
||||||
v = &common.voice[i];
|
v = &common.voice[i];
|
||||||
if (v != NULL)
|
if (v != NULL) {
|
||||||
v->voc_state = VOC_ERROR;
|
v->voc_state = VOC_ERROR;
|
||||||
|
v->rec_info.recording = 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue