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

Commit 191e0975 authored by Kyle Yan's avatar Kyle Yan Committed by Gerrit - the friendly Code Review server
Browse files

soc: qcom: service-locator: Update incorrect usage of qmi_send_req_wait



qmi_send_req_wait expects timeout argument to be passed in ms and not
in jiffies. Update the call in service-locator to pass in the correct
argument.

Change-Id: Ib2f8deedf2fb2a561c30b0c8511bb1edd5a37361
Signed-off-by: default avatarKyle Yan <kyan@codeaurora.org>
parent f2170a29
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -190,7 +190,7 @@ static int servreg_loc_send_msg(struct msg_desc *req_desc,
	 */
	rc = qmi_send_req_wait(service_locator.clnt_handle, req_desc, req,
		sizeof(*req), resp_desc, resp, sizeof(*resp),
		msecs_to_jiffies(QMI_SERVREG_LOC_SERVER_TIMEOUT));
		QMI_SERVREG_LOC_SERVER_TIMEOUT);
	if (rc < 0) {
		pr_err("QMI send req failed for client %s, ret - %d\n",
			pd->client_name, rc);