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.la...@googlemail.com>
---
 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 majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to