From 191e09750854960729b676d92ab1a68aae219724 Mon Sep 17 00:00:00 2001 From: Kyle Yan Date: Tue, 7 Nov 2017 15:27:29 -0800 Subject: [PATCH] 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: Kyle Yan --- drivers/soc/qcom/service-locator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/soc/qcom/service-locator.c b/drivers/soc/qcom/service-locator.c index f19db5fe99b3..aa9025b6b784 100644 --- a/drivers/soc/qcom/service-locator.c +++ b/drivers/soc/qcom/service-locator.c @@ -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);