[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240424-apcs-mboxes-v1-1-6556c47cb501@z3ntu.xyz>
Date: Wed, 24 Apr 2024 18:23:54 +0200
From: Luca Weiss <luca@...tu.xyz>
To: ~postmarketos/upstreaming@...ts.sr.ht, phone-devel@...r.kernel.org,
Bjorn Andersson <andersson@...nel.org>,
Mathieu Poirier <mathieu.poirier@...aro.org>,
Konrad Dybcio <konrad.dybcio@...aro.org>, Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>
Cc: linux-arm-msm@...r.kernel.org, linux-remoteproc@...r.kernel.org,
linux-kernel@...r.kernel.org, devicetree@...r.kernel.org,
Luca Weiss <luca@...tu.xyz>
Subject: [PATCH 1/7] rpmsg: qcom_smd: Don't print error during probe
deferral
When the mailbox driver has not probed yet, skip printing the error
message since it's just going to confuse users.
Signed-off-by: Luca Weiss <luca@...tu.xyz>
---
drivers/rpmsg/qcom_smd.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/rpmsg/qcom_smd.c b/drivers/rpmsg/qcom_smd.c
index 43f601c84b4f..6fc299657adf 100644
--- a/drivers/rpmsg/qcom_smd.c
+++ b/drivers/rpmsg/qcom_smd.c
@@ -1502,7 +1502,8 @@ struct qcom_smd_edge *qcom_smd_register_edge(struct device *parent,
ret = qcom_smd_parse_edge(&edge->dev, node, edge);
if (ret) {
- dev_err(&edge->dev, "failed to parse smd edge\n");
+ if (ret != -EPROBE_DEFER)
+ dev_err(&edge->dev, "failed to parse smd edge\n");
goto unregister_dev;
}
--
2.44.0
Powered by blists - more mailing lists