Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a2211564 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: ipa: destroy QMI client handle in IPA QMI clean-up"

parents 8c8b010d b4aa6b5c
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -758,6 +758,8 @@ void ipa_qmi_service_exit(void)
	}

	/* qmi-client */

	/* Unregister from events */
	ret = qmi_svc_event_notifier_unregister(IPA_Q6_SERVICE_SVC_ID,
				IPA_Q6_SVC_VERS,
				IPA_Q6_SERVICE_INS_ID, &ipa_q6_clnt_nb);
@@ -766,6 +768,9 @@ void ipa_qmi_service_exit(void)
		"Error qmi_svc_event_notifier_unregister service %d, ret=%d\n",
		IPA_Q6_SERVICE_SVC_ID, ret);

	/* Release client handle */
	ipa_q6_clnt_svc_exit(0);

	if (ipa_clnt_req_workqueue) {
		destroy_workqueue(ipa_clnt_req_workqueue);
		ipa_clnt_req_workqueue = NULL;