OMAP2 clock/powerdomain: off by 1 error in loop timeout comparisons
authorRoel Kluin <roel.kluin@gmail.com>
Mon, 15 Jun 2009 08:00:51 +0000 (02:00 -0600)
committerTony Lindgren <tony@atomide.com>
Mon, 15 Jun 2009 09:47:59 +0000 (12:47 +0300)
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>

No differences found