From 861a8fa60c95fb9f7fa1784c00173754ddb45a11 Mon Sep 17 00:00:00 2001 From: Tanya Dixit Date: Tue, 12 Sep 2017 15:38:21 +0530 Subject: [PATCH] dsp: fix no recovery after SSR/PDR Add apr_reset for q6core service to enable glink channel to close and open properly after SSR. CRs-Fixed: 2099312 Change-Id: Ia023cdb19a6a9dc7fae3e5c28ab51ddd92d37527 Signed-off-by: Tanya Dixit --- dsp/q6core.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/dsp/q6core.c b/dsp/q6core.c index 8d82704055fc..95b203a74b07 100644 --- a/dsp/q6core.c +++ b/dsp/q6core.c @@ -210,7 +210,11 @@ static int32_t aprv2_core_fn_q(struct apr_client_data *data, void *priv) case RESET_EVENTS:{ pr_debug("%s: Reset event received in Core service\n", __func__); - /* no reset done as the data will not change after SSR*/ + /* + * no reset for q6core_avcs_ver_info done as + * the data will not change after SSR + */ + apr_reset(q6core_lcl.core_handle_q); q6core_lcl.core_handle_q = NULL; break; }