Files
linux/drivers
Ben Dooks b897878454 spi_s3c24xx: fix clock rate calculation
Currently the clock rate calculation may round as pleased, which means
that it is possible that we will round down and end up with a faster clock
rate than intended.

Change the calculation to use DIV_ROUND_UP() to ensure that we end up with
a clock rate either the same as or lower than the user requested one.

Signed-off-by: Ben Dooks <ben@simtec.co.uk>
Cc: David Brownell <david-b@pacbell.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2009-08-18 16:31:13 -07:00
..
2009-07-12 12:22:34 -07:00
2009-08-15 12:58:45 +09:00
2009-07-12 12:22:34 -07:00
2009-08-09 12:25:29 +10:00
2009-07-03 15:45:29 +01:00
2009-08-04 20:31:32 +02:00
2009-07-12 12:22:34 -07:00
2009-08-15 12:58:42 +09:00
2009-07-30 16:03:45 +09:30
2009-07-01 11:19:47 +02:00