i2c: ali1563: remove printout on handled timeouts
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Tue, 23 Apr 2024 12:13:20 +0000 (14:13 +0200)
committerAndi Shyti <andi.shyti@kernel.org>
Sun, 5 May 2024 22:56:48 +0000 (00:56 +0200)
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: Jean Delvare <jdelvare@suse.de>
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
drivers/i2c/busses/i2c-ali1563.c

index 307fb0666ecb2f296af23926fe3d5728d78fb74b..63897a89bb35f7f7e2602eb786b1d8b37222a8c3 100644 (file)
@@ -99,7 +99,6 @@ static int ali1563_transaction(struct i2c_adapter *a, int size)
                return 0;
 
        if (!timeout) {
-               dev_err(&a->dev, "Timeout - Trying to KILL transaction!\n");
                /* Issue 'kill' to host controller */
                outb_p(HST_CNTL2_KILL, SMB_HST_CNTL2);
                data = inb_p(SMB_HST_STS);