Files
linux/drivers/i2c
Ville Syrjala 8ee161ce5e i2c-algo-bit: Fix spurious SCL timeouts under heavy load
When the system is under heavy load, there can be a significant delay
between the getscl() and time_after() calls inside sclhi(). That delay
may cause the time_after() check to trigger after SCL has gone high,
causing sclhi() to return -ETIMEDOUT.

To fix the problem, double check that SCL is still low after the
timeout has been reached, before deciding to return -ETIMEDOUT.

Signed-off-by: Ville Syrjala <[email protected]>
Cc: [email protected]
Signed-off-by: Jean Delvare <[email protected]>
2012-03-15 18:11:05 +01:00
..
2012-01-12 20:32:04 +01:00
2011-07-11 14:22:32 +02:00