Russell King 56949d414a ARM: udelay: prevent math rounding resulting in short udelays
We perform the microseconds to loops calculation using a number of
multiplies and shift rights.  Each shift right rounds down the
resulting value, which can result in delays shorter than requested.
Ensure that we always round up.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2011-01-10 23:55:59 +00:00
..
2009-08-13 20:34:37 +02:00
2005-04-16 15:20:36 -07:00
2008-11-27 12:37:59 +00:00
2009-09-15 09:37:12 -07:00