Commit 83ff7953 authored by Juha Yrjola's avatar Juha Yrjola

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: default avatarJuha Yrjola <juha.yrjola@nokia.com>
parent e938661e
......@@ -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 */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment