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

Commit 46e725d3 authored by Runmin Wang's avatar Runmin Wang
Browse files

soc: qcom: pil: Pass the right pointer in service locator



Pass the correct request and response buffer pointer to the
qmi functions.

Change-Id: I5910d26471ee946118792bdb96e1e0d8af768106
Signed-off-by: default avatarRunmin Wang <runminw@codeaurora.org>
parent 4cad295d
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -123,7 +123,7 @@ static int servreg_loc_send_msg(
	 * actually made this call. In that case the call just fails.
	 */
	rc = qmi_txn_init(&service_locator.clnt_handle, &txn,
			qmi_servreg_loc_get_domain_list_resp_msg_v01_ei, &resp);
			qmi_servreg_loc_get_domain_list_resp_msg_v01_ei, resp);
	if (rc < 0) {
		pr_err("QMI tx init failed for client %s, ret - %d\n",
			pd->client_name, rc);
@@ -135,7 +135,7 @@ static int servreg_loc_send_msg(
			&txn, QMI_SERVREG_LOC_GET_DOMAIN_LIST_REQ_V01,
			QMI_SERVREG_LOC_GET_DOMAIN_LIST_REQ_MSG_V01_MAX_MSG_LEN,
			qmi_servreg_loc_get_domain_list_req_msg_v01_ei,
			&req);
			req);
	if (rc < 0) {
		pr_err("QMI send req failed for client %s, ret - %d\n",
			pd->client_name, rc);