commit | 2687069f3ac297b820c58de7222e4d16adbca498 | [log] [tgz] |
---|---|---|
author | Roel Kluin <roel.kluin@gmail.com> | Fri Jun 19 19:08:30 2009 -0600 |
committer | paul <paul@twilight.(none)> | Fri Jun 19 19:09:32 2009 -0600 |
tree | 8257b9f02f998e9069364508b6a26a8b63b796fb | |
parent | 7b7bcefa35d62fec64c3615a6bef7866f34c7cc9 [diff] |
OMAP2 clock/powerdomain: off by 1 error in loop timeout comparisons with while (i++ < MAX_CLOCK_ENABLE_WAIT); i can reach MAX_CLOCK_ENABLE_WAIT + 1 after the loop, so if (i == MAX_CLOCK_ENABLE_WAIT) that's still success. Signed-off-by: Roel Kluin <roel.kluin@gmail.com> Signed-off-by: Paul Walmsley <paul@pwsan.com>