summaryrefslogtreecommitdiffstats
path: root/mm/backing-dev.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2009-05-05 08:39:24 +0200
committerJean Delvare <khali@linux-fr.org>2009-05-05 08:39:24 +0200
commit0cdba07bb23cdd3e0d64357ec3d983e6b75e541f (patch)
tree2be7fb0ed8b0e1a7a478d79e33fc742daa27fb35 /mm/backing-dev.c
parent4ccc28f725bc2b7b0a3bc27e9c15f4eaf63fb812 (diff)
downloadblackbird-op-linux-0cdba07bb23cdd3e0d64357ec3d983e6b75e541f.tar.gz
blackbird-op-linux-0cdba07bb23cdd3e0d64357ec3d983e6b75e541f.zip
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>
Diffstat (limited to 'mm/backing-dev.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud