Skip to content
Commit d10db3a0 authored by Roel Kluin's avatar Roel Kluin Committed by Ben Dooks
Browse files

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: default avatarRoel Kluin <roel.kluin@gmail.com>
Acked-by: default avatarWolfram Sang <w.sang@pengutronix.de>
Signed-off-by: default avatarBen Dooks <ben-linux@fluff.org>
parent 091438dd
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment