Paul Walmsley 6f8b7ff5b0 OMAP clock/hwmod: fix off-by-one errors
Fix loop bailout off-by-one bugs reported by Juha Leppänen
<juha_motorsportcom@luukku.com>.

This second version incorporates comments from Russell King
<linux@arm.linux.org.uk>.  A new macro, 'omap_test_timeout', has
been created, with cleaner code, and existing code has been converted
to use it.

Signed-off-by: Paul Walmsley <paul@pwsan.com>
Cc: Juha Leppänen <juha_motorsportcom@luukku.com>
Cc: Russell King <linux@arm.linux.org.uk>
2009-12-11 17:00:43 -07:00
..
2009-10-29 11:46:55 -07:00
2009-10-29 11:46:55 -07:00
2009-12-04 13:23:41 +01:00
2009-12-05 10:35:33 +00:00
2009-10-29 11:46:56 -07:00
2009-11-25 22:17:36 +00:00
2009-12-05 10:35:33 +00:00