[PATCH] i2c-au1550: increase timeout waiting for transactions to finish

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Wait a bit longer for the I2C master transaction to finish.
With this change the WM8731 codec on the DB1300 board is now
reliably initialized.

Tested on Db1200 and Db1300.

Signed-off-by: Manuel Lauss <manuel.lauss@xxxxxxxxxxxxxx>
---
 drivers/i2c/busses/i2c-au1550.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/i2c/busses/i2c-au1550.c b/drivers/i2c/busses/i2c-au1550.c
index 532828b..e4ece23 100644
--- a/drivers/i2c/busses/i2c-au1550.c
+++ b/drivers/i2c/busses/i2c-au1550.c
@@ -106,7 +106,7 @@ wait_master_done(struct i2c_au1550_data *adap)
 		au_sync();
 		if ((stat & PSC_SMBEVNT_MD) != 0)
 			return 0;
-		udelay(1);
+		udelay(2);
 	}
 
 	return -ETIMEDOUT;
-- 
1.7.5.3

--
To unsubscribe from this list: send the line "unsubscribe linux-i2c" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux GPIO]     [Linux SPI]     [Linux Hardward Monitoring]     [LM Sensors]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux