i2c-algo-bit: Fix timeout test
[safe/jmp/linux-2.6] / drivers / i2c / algos / i2c-algo-bit.c
index d420cc5..e25e139 100644 (file)
@@ -104,7 +104,7 @@ static int sclhi(struct i2c_algo_bit_data *adap)
                 * chips may hold it low ("clock stretching") while they
                 * are processing data internally.
                 */
-               if (time_after_eq(jiffies, start + adap->timeout))
+               if (time_after(jiffies, start + adap->timeout))
                        return -ETIMEDOUT;
                cond_resched();
        }