From 83ff795337a7d9a3e7c113e05e233973676e8ef5 Mon Sep 17 00:00:00 2001 From: Juha Yrjola Date: Fri, 10 Feb 2006 17:33:06 +0200 Subject: [PATCH] I2C: Increase the OMAP I2C timeout to 1 second Some (buggy?) hardware seems to cause rather long latencies. Increasing the timeout a bit helps. Signed-off-by: Juha Yrjola --- drivers/i2c/busses/i2c-omap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/i2c/busses/i2c-omap.c b/drivers/i2c/busses/i2c-omap.c index b0210730c02..d64d37f6086 100644 --- a/drivers/i2c/busses/i2c-omap.c +++ b/drivers/i2c/busses/i2c-omap.c @@ -53,7 +53,7 @@ static const char driver_name[] = "i2c_omap"; #define MODULE_NAME "OMAP I2C" -#define OMAP_I2C_TIMEOUT (msecs_to_jiffies(500)) /* timeout waiting for the controller to respond */ +#define OMAP_I2C_TIMEOUT (msecs_to_jiffies(1000)) /* timeout waiting for the controller to respond */ #define DEFAULT_OWN 1 /* default own I2C address */ #define MAX_MESSAGES 65536 /* max number of messages */ -- 2.41.1