git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b4348f3
)
i2c: Timeouts off by 1
author
Roel Kluin
<roel.kluin@gmail.com>
Tue, 5 May 2009 06:39:24 +0000
(08:39 +0200)
committer
Jean Delvare
<khali@linux-fr.org>
Tue, 5 May 2009 06:39:24 +0000
(08:39 +0200)
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>
No differences found