aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWolfram Sang <wsa+renesas@sang-engineering.com>2024-04-10 13:24:26 +0200
committerAndi Shyti <andi.shyti@kernel.org>2024-04-23 00:41:26 +0200
commite28ec7512496848e8a340889c512a0167949dc8f (patch)
treea42eb5fa7a5288594da98fcf1809325ff27a7f41
parent4677d9f5c98f1c2825de142de5df08621ea340b3 (diff)
downloadrenesas-drivers-e28ec7512496848e8a340889c512a0167949dc8f.tar.gz
i2c: qup: remove printout on handled timeouts
Notice: this object is not reachable from any branch.
I2C and SMBus timeouts are not something the user needs to be informed about on controller level. The client driver may know if that really is a problem and give more detailed information to the user. The controller should just pass this information upwards. Remove the printout. Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Reviewed-by: Bjorn Andersson <andersson@kernel.org> Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
Notice: this object is not reachable from any branch.
-rw-r--r--drivers/i2c/busses/i2c-qup.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/i2c/busses/i2c-qup.c b/drivers/i2c/busses/i2c-qup.c
index 598102d16677a1..c9b43a3c4bd3c0 100644
--- a/drivers/i2c/busses/i2c-qup.c
+++ b/drivers/i2c/busses/i2c-qup.c
@@ -793,10 +793,8 @@ static int qup_i2c_bam_schedule_desc(struct qup_i2c_dev *qup)
dma_async_issue_pending(qup->brx.dma);
}
- if (!wait_for_completion_timeout(&qup->xfer, qup->xfer_timeout)) {
- dev_err(qup->dev, "normal trans timed out\n");
+ if (!wait_for_completion_timeout(&qup->xfer, qup->xfer_timeout))
ret = -ETIMEDOUT;
- }
if (ret || qup->bus_err || qup->qup_err) {
reinit_completion(&qup->xfer);