diff options
| author | Roel Kluin <[email protected]> | 2009-05-05 06:39:24 +0000 |
|---|---|---|
| committer | Jean Delvare <[email protected]> | 2009-05-05 06:39:24 +0000 |
| commit | 4ccc28f725bc2b7b0a3bc27e9c15f4eaf63fb812 (patch) | |
| tree | f1a3a3424713340aabb5722fc1accad149fc5052 /drivers/i2c/algos/i2c-algo-bit.c | |
| parent | Merge branch 'for-linus' of git://oss.sgi.com/xfs/xfs (diff) | |
| download | kernel-4ccc28f725bc2b7b0a3bc27e9c15f4eaf63fb812.tar.gz kernel-4ccc28f725bc2b7b0a3bc27e9c15f4eaf63fb812.zip | |
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 <[email protected]>
Signed-off-by: Jean Delvare <[email protected]>
Diffstat (limited to 'drivers/i2c/algos/i2c-algo-bit.c')
0 files changed, 0 insertions, 0 deletions
