From 60e1b7e682d88deeb8e45d09675ca576ef843c8d Mon Sep 17 00:00:00 2001 From: Hardik Kantilal Patel Date: Tue, 21 Aug 2018 14:40:19 +0530 Subject: [PATCH] icnss: Clear ICNSS_MSA0_ASSIGNED flag in cap failure case During capability qmi message failure ICNSS_MSA0_ASSIGNED flag is not getting clear. Due to this after PDR/SSR next time it is not configuring the MSA0 permission to q6 which result into NOC error as q6 is not having access permission. To address above issue clear ICNSS_MSA0_ASSIGNED bit in failure case. CRs-Fixed: 2300877 Change-Id: I6aeaedb5a394b843c4f1c8ef1e0be47a6947b331 Signed-off-by: Hardik Kantilal Patel --- drivers/soc/qcom/icnss.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/soc/qcom/icnss.c b/drivers/soc/qcom/icnss.c index d2dd714f762f..1fc891b06016 100644 --- a/drivers/soc/qcom/icnss.c +++ b/drivers/soc/qcom/icnss.c @@ -2097,6 +2097,7 @@ static int icnss_driver_event_server_arrive(void *data) err_setup_msa: icnss_assign_msa_perm_all(penv, ICNSS_MSA_PERM_HLOS_ALL); + clear_bit(ICNSS_MSA0_ASSIGNED, &penv->state); err_power_on: icnss_hw_power_off(penv); fail: -- 2.11.0