diff options
author | Roel Kluin <roel.kluin@gmail.com> | 2009-04-23 10:27:39 -0400 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2009-05-03 17:54:23 -0400 |
commit | d10db3a07e38bfb1bff92c790072d85b0bcc07eb (patch) | |
tree | 8cfbe18a5d164d02b9fcce64fda01e777a1d655b /drivers/i2c/busses/i2c-amd8111.c | |
parent | 091438dd5668396328a3419abcbc6591159eb8d1 (diff) |
i2c-pxa.c: timeouts off by 1
With `while (timeout--)' timeout reaches -1 after the loop, so the tests
below are off by one.
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Acked-by: Wolfram Sang <w.sang@pengutronix.de>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'drivers/i2c/busses/i2c-amd8111.c')
0 files changed, 0 insertions, 0 deletions