Merge "msm: ipa3: Fix to unlock mutex before return"

This commit is contained in:
qctecmdr 2020-12-08 09:44:28 -08:00 committed by Gerrit - the friendly Code Review server
commit 737c914a99

View File

@ -483,8 +483,11 @@ static int ipa3_qmi_send_req_wait(struct qmi_handle *client_handle,
req_desc->ei_array,
req);
if (unlikely(!ipa_q6_clnt))
if (unlikely(!ipa_q6_clnt)) {
mutex_unlock(&ipa3_qmi_lock);
return -EINVAL;
}
mutex_unlock(&ipa3_qmi_lock);
if (ret < 0) {