i2c-pxa.c: timeouts off by 1
authorRoel Kluin <roel.kluin@gmail.com>
Thu, 23 Apr 2009 14:27:39 +0000 (16:27 +0200)
committerBen Dooks <ben-linux@fluff.org>
Sun, 3 May 2009 21:54:23 +0000 (22:54 +0100)
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>

No differences found