Files
linux/drivers
Ville Syrjala 35f68010b4 i2c-algo-bit: Fix spurious SCL timeouts under heavy load
commit 8ee161ce5e upstream.

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 <syrjala@sci.fi>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-03-19 08:57:59 -07:00
..
2012-02-13 11:06:13 -08:00
2012-01-25 17:24:54 -08:00
2012-01-25 17:24:56 -08:00
2012-03-12 10:33:01 -07:00
2012-03-12 10:33:10 -07:00
2012-01-25 17:24:44 -08:00
2012-01-06 14:13:48 -08:00
2012-03-12 10:32:59 -07:00
2011-11-21 14:31:14 -08:00