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

This commit is contained in:
Linux Build Service Account 2018-01-18 00:12:37 -08:00 committed by Gerrit - the friendly Code Review server
commit ebf43a689f

View File

@ -123,7 +123,7 @@ static int servreg_loc_send_msg(
* actually made this call. In that case the call just fails. * actually made this call. In that case the call just fails.
*/ */
rc = qmi_txn_init(&service_locator.clnt_handle, &txn, 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) { if (rc < 0) {
pr_err("QMI tx init failed for client %s, ret - %d\n", pr_err("QMI tx init failed for client %s, ret - %d\n",
pd->client_name, rc); pd->client_name, rc);
@ -135,7 +135,7 @@ static int servreg_loc_send_msg(
&txn, QMI_SERVREG_LOC_GET_DOMAIN_LIST_REQ_V01, &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_MAX_MSG_LEN,
qmi_servreg_loc_get_domain_list_req_msg_v01_ei, qmi_servreg_loc_get_domain_list_req_msg_v01_ei,
&req); req);
if (rc < 0) { if (rc < 0) {
pr_err("QMI send req failed for client %s, ret - %d\n", pr_err("QMI send req failed for client %s, ret - %d\n",
pd->client_name, rc); pd->client_name, rc);