diff mbox series

[v2,1/2] interconnect: qcom: icc-rpm: record slave RPM id in error log

Message ID 20210205015205.22947-2-benl@squareup.com
State Accepted
Commit 9b4ab638c49ef6ea5f2f47bc5ce3eef3c9bb6e2d
Headers show
Series [v2,1/2] interconnect: qcom: icc-rpm: record slave RPM id in error log | expand

Commit Message

Benjamin Li Feb. 5, 2021, 1:52 a.m. UTC
Add slave RPM ID to assist with identifying incorrect RPM config.

Signed-off-by: Benjamin Li <benl@squareup.com>
---
 drivers/interconnect/qcom/icc-rpm.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/drivers/interconnect/qcom/icc-rpm.c b/drivers/interconnect/qcom/icc-rpm.c
index cc6095492cbe..54de49ca7808 100644
--- a/drivers/interconnect/qcom/icc-rpm.c
+++ b/drivers/interconnect/qcom/icc-rpm.c
@@ -59,8 +59,8 @@  static int qcom_icc_set(struct icc_node *src, struct icc_node *dst)
 					    qn->slv_rpm_id,
 					    sum_bw);
 		if (ret) {
-			pr_err("qcom_icc_rpm_smd_send slv error %d\n",
-			       ret);
+			pr_err("qcom_icc_rpm_smd_send slv %d error %d\n",
+			       qn->slv_rpm_id, ret);
 			return ret;
 		}
 	}