]> Git Repo - linux.git/commit
OMAP2 clock/powerdomain: off by 1 error in loop timeout comparisons
authorRoel Kluin <[email protected]>
Sat, 20 Jun 2009 01:08:30 +0000 (19:08 -0600)
committerpaul <paul@twilight.(none)>
Sat, 20 Jun 2009 01:09:32 +0000 (19:09 -0600)
commit2687069f3ac297b820c58de7222e4d16adbca498
tree8257b9f02f998e9069364508b6a26a8b63b796fb
parent7b7bcefa35d62fec64c3615a6bef7866f34c7cc9
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 <[email protected]>
Signed-off-by: Paul Walmsley <[email protected]>
arch/arm/mach-omap2/clock.c
arch/arm/mach-omap2/powerdomain.c
This page took 0.054971 seconds and 4 git commands to generate.