From: Dave Airlie Date: Thu, 7 May 2009 12:57:24 +0000 (+0200) Subject: i2c-algo-bit: Fix timeout test X-Git-Tag: v2.6.27.24~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3db025f88475dd6eaa4b4881d21f7ab89c8b1ecd;p=pandora-kernel.git i2c-algo-bit: Fix timeout test commit 0cdba07bb23cdd3e0d64357ec3d983e6b75e541f upstream 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 Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed