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

Commit 5f8b2cf5 authored by Deepak Katragadda's avatar Deepak Katragadda
Browse files

qcom: sysmon: Change print level of send_event failure



When a subsystem cannot/does not service a sysmon event, it
sends back an "unknown" response. This is expected to happen
since subsystems generally only care about notifications
regarding a few other subsystems. Replace the print level
for this message from pr_error to pr_debug.

Change-Id: I2a8491ccbd9182ecb20c5d7ad021d5992d4cacb0
Signed-off-by: default avatarDeepak Katragadda <dkatraga@codeaurora.org>
parent 3311f658
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -357,7 +357,7 @@ int sysmon_send_event(struct subsys_desc *dest_desc,

	/* Check the response */
	if (QMI_RESP_BIT_SHIFT(resp.resp.result) != QMI_RESULT_SUCCESS_V01) {
		pr_err("QMI request failed 0x%x\n",
		pr_debug("QMI request failed 0x%x\n",
					QMI_RESP_BIT_SHIFT(resp.resp.error));
		ret = -EREMOTEIO;
	}
+1 −1
Original line number Diff line number Diff line
@@ -166,7 +166,7 @@ int sysmon_send_event_no_qmi(struct subsys_desc *dest_desc,
	}

	if (strcmp(ss->rx_buf, "ssr:ack")) {
		pr_err("Unexpected response %s\n", ss->rx_buf);
		pr_debug("Unexpected response %s\n", ss->rx_buf);
		ret = -ENOSYS;
	}
out: