diff options
author | Benjamin Li <benl@squareup.com> | 2021-03-08 15:13:40 +0200 |
---|---|---|
committer | Georgi Djakov <georgi.djakov@linaro.org> | 2021-03-08 15:13:40 +0200 |
commit | 9b4ab638c49ef6ea5f2f47bc5ce3eef3c9bb6e2d (patch) | |
tree | abab2604e7d5ae3de73857a302f223d94c2a28cd /drivers/interconnect | |
parent | a38fd8748464831584a19438cbb3082b5a2dab15 (diff) | |
download | linux-9b4ab638c49ef6ea5f2f47bc5ce3eef3c9bb6e2d.tar.gz linux-9b4ab638c49ef6ea5f2f47bc5ce3eef3c9bb6e2d.tar.bz2 linux-9b4ab638c49ef6ea5f2f47bc5ce3eef3c9bb6e2d.zip |
interconnect: qcom: icc-rpm: record slave RPM id in error log
Add slave RPM ID to assist with identifying incorrect RPM config.
Signed-off-by: Benjamin Li <benl@squareup.com>
Reviewed-by: Jun Nie <jun.nie@linaro.org>
Link: https://lore.kernel.org/r/20210205015205.22947-2-benl@squareup.com
Signed-off-by: Georgi Djakov <georgi.djakov@linaro.org>
Diffstat (limited to 'drivers/interconnect')
-rw-r--r-- | drivers/interconnect/qcom/icc-rpm.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; } } |