Explorar el Código

msm: ipa: Avoid sending remove all filter indication during SSR

Changes to not send remove all filter indication to Q6 when modem SSR
is trigerred

Change-Id: If1c86ce41b91f4df1eab592090fbbb7c4f12e535
Signed-off-by: Chaitanya Pratapa <[email protected]>
Arjun Haris hace 2 años
padre
commit
d0b383b4f6
Se han modificado 1 ficheros con 5 adiciones y 0 borrados
  1. 5 0
      drivers/platform/msm/ipa/ipa_v3/ipa_qmi_service.c

+ 5 - 0
drivers/platform/msm/ipa/ipa_v3/ipa_qmi_service.c

@@ -2716,6 +2716,11 @@ int ipa3_qmi_send_wdi_opt_dpath_rmv_all_flt_ind(
 	if (unlikely(!ipa3_svc_handle))
 		return -ETIMEDOUT;
 
+	if (atomic_read(&ipa3_ctx->is_ssr)) {
+		IPAWANDBG("SSR in progress , no need to send ind\n");
+		return 0;
+	}
+
 	IPAWANDBG("wdi_opt_dpath_rmv_all_flt_ind: result %d, err %d\n",
 		ind->filter_removal_all_status.result,
 		ind->filter_removal_all_status.error);