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

Commit bf95e1bd authored by Skylar Chang's avatar Skylar Chang
Browse files

ipa3: add more prints on imp_handle_vote_req



Add debug print to reflect modem wants to
vote or unvote mhi device.

Change-Id: I1de6e1477b2a8d9cb40ccca9d04c0ce14332b362
Signed-off-by: default avatarSkylar Chang <chiaweic@codeaurora.org>
parent c22c0e07
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -301,9 +301,9 @@ static void ipa3_handle_mhi_vote_req(struct qmi_handle *qmi_handle,
	struct ipa_mhi_clk_vote_resp_msg_v01 resp;
	int rc;

	IPAWANDBG_LOW("Received QMI_IPA_MHI_CLK_VOTE_REQ_V01\n");
	vote_req = (struct ipa_mhi_clk_vote_req_msg_v01 *)decoded_msg;

	IPAWANDBG("Received QMI_IPA_MHI_CLK_VOTE_REQ_V01(%d)\n",
		vote_req->mhi_vote);
	rc = imp_handle_vote_req(vote_req->mhi_vote);
	if (rc) {
		resp.resp.result = IPA_QMI_RESULT_FAILURE_V01;
@@ -311,7 +311,7 @@ static void ipa3_handle_mhi_vote_req(struct qmi_handle *qmi_handle,
	} else {
		resp.resp.result = IPA_QMI_RESULT_SUCCESS_V01;
	}

	IPAWANDBG("start sending QMI_IPA_MHI_CLK_VOTE_RESP_V01\n");
	rc = qmi_send_response(qmi_handle, sq, txn,
		QMI_IPA_MHI_CLK_VOTE_RESP_V01,
		IPA_MHI_CLK_VOTE_RESP_MSG_V01_MAX_MSG_LEN,
@@ -321,7 +321,7 @@ static void ipa3_handle_mhi_vote_req(struct qmi_handle *qmi_handle,
	if (rc < 0)
		IPAWANERR("QMI_IPA_MHI_CLK_VOTE_RESP_V01 failed\n");
	else
		IPAWANDBG("Sent QMI_IPA_MHI_CLK_VOTE_RESP_V01\n");
		IPAWANDBG("Finished senting QMI_IPA_MHI_CLK_VOTE_RESP_V01\n");
}

static void ipa3_a5_svc_disconnect_cb(struct qmi_handle *qmi,