|
@@ -2110,18 +2110,18 @@ void ipa3_qmi_service_exit(void)
|
|
|
ipa3_svc_handle = NULL;
|
|
|
}
|
|
|
|
|
|
- /* qmi-client */
|
|
|
-
|
|
|
/* Release client handle */
|
|
|
mutex_lock(&ipa3_qmi_lock);
|
|
|
if (ipa_q6_clnt != NULL) {
|
|
|
qmi_handle_release(ipa_q6_clnt);
|
|
|
vfree(ipa_q6_clnt);
|
|
|
ipa_q6_clnt = NULL;
|
|
|
+ mutex_unlock(&ipa3_qmi_lock);
|
|
|
if (ipa_clnt_req_workqueue) {
|
|
|
destroy_workqueue(ipa_clnt_req_workqueue);
|
|
|
ipa_clnt_req_workqueue = NULL;
|
|
|
}
|
|
|
+ mutex_lock(&ipa3_qmi_lock);
|
|
|
}
|
|
|
|
|
|
/* clean the QMI msg cache */
|