mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-11-01 17:08:10 +00:00
i2c: at91-master: remove printout on handled timeouts
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> Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
This commit is contained in:
parent
4268254a39
commit
375ee8d223
1 changed files with 0 additions and 1 deletions
|
@ -591,7 +591,6 @@ static int at91_do_twi_transfer(struct at91_twi_dev *dev)
|
|||
dev->adapter.timeout);
|
||||
if (time_left == 0) {
|
||||
dev->transfer_status |= at91_twi_read(dev, AT91_TWI_SR);
|
||||
dev_err(dev->dev, "controller timed out\n");
|
||||
at91_init_twi_bus(dev);
|
||||
ret = -ETIMEDOUT;
|
||||
goto error;
|
||||
|
|
Loading…
Reference in a new issue