commit | 4ccc28f725bc2b7b0a3bc27e9c15f4eaf63fb812 | [log] [tgz] |
---|---|---|
author | Roel Kluin <roel.kluin@gmail.com> | Tue May 05 08:39:24 2009 +0200 |
committer | Jean Delvare <khali@linux-fr.org> | Tue May 05 08:39:24 2009 +0200 |
tree | f1a3a3424713340aabb5722fc1accad149fc5052 | |
parent | b4348f32dae3cb6eb4bc21c7ed8f76c0b11e9d6a [diff] |
i2c: Timeouts off by 1 with while (timeout++ < MAX_TIMEOUT); timeout reaches MAX_TIMEOUT + 1 after the loop, so the tests below are off by one. Signed-off-by: Roel Kluin <roel.kluin@gmail.com> Signed-off-by: Jean Delvare <khali@linux-fr.org>