From: Roel Kluin Date: Sat, 20 Jun 2009 01:08:30 +0000 (-0600) Subject: OMAP2 clock/powerdomain: off by 1 error in loop timeout comparisons X-Git-Tag: v2.6.31-rc1~54^2~4^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2687069f3ac297b820c58de7222e4d16adbca498;p=pandora-kernel.git 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 Signed-off-by: Paul Walmsley --- Reading git-diff-tree failed