diff options
author | Adam Jackson <ajax@nwnk.net> | 2005-01-24 20:44:49 +0000 |
---|---|---|
committer | Adam Jackson <ajax@nwnk.net> | 2005-01-24 20:44:49 +0000 |
commit | 67eeede4e16324990e1a6afc237a3f51b8edea39 (patch) | |
tree | 347a149a1d967a27562757b32190b0d82876a550 | |
parent | 55736aa8c17f762b15e9bcd7b3f68f8680b7cb33 (diff) |
Bug #2004: Make DDC delay slightly longer. (Thomas J. Moore)
-rw-r--r-- | hw/xfree86/i2c/xf86i2c.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xfree86/i2c/xf86i2c.c b/hw/xfree86/i2c/xf86i2c.c index 77e3c2634..199519629 100644 --- a/hw/xfree86/i2c/xf86i2c.c +++ b/hw/xfree86/i2c/xf86i2c.c @@ -87,7 +87,7 @@ I2CUDelay(I2CBusPtr b, int usec) d_secs = (a_secs - b_secs); d_usecs = (a_usecs - b_usecs); diff = d_secs*1000000 + d_usecs; - } while (diff>0 && diff< (usec + 1)); + } while (diff>=0 && diff< (usec + 1)); } } #endif |