linux/drivers/i2c/algos
Dave Airlie 0cdba07bb2 i2c-algo-bit: Fix timeout test
When fetching DDC using i2c algo bit, we were often seeing timeouts
before getting valid EDID on a retry. The VESA spec states 2ms is the
DDC timeout, so when this translates into 1 jiffie and we are close
to the end of the time period, it could return with a timeout less than
2ms.

Change this code to use time_after instead of time_after_eq.

Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
2009-05-05 08:39:24 +02:00
..
Kconfig i2c: Delete unused i2c-algo-sgi helper module 2009-04-06 18:12:25 +02:00
Makefile i2c: Delete unused i2c-algo-sgi helper module 2009-04-06 18:12:25 +02:00
i2c-algo-bit.c i2c-algo-bit: Fix timeout test 2009-05-05 08:39:24 +02:00
i2c-algo-pca.c i2c-algo-pca: Fix use of uninitialized variable in debug message 2009-04-13 17:02:13 +02:00
i2c-algo-pcf.c i2c: Set a default timeout value for all adapters 2009-03-28 21:34:43 +01:00
i2c-algo-pcf.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00