Peter Korsgaard 53604dbe13 spi_mpc83xx: fix clockrate calculation for low speed
Commit a61f5345 (spi_mpc83xx clockrate fixes) broke clockrate calculation
for low speeds.  SPMODE_DIV16 should be set if the divider is higher than
64, not only if the divider gets clipped to 1024.

Furthermore, the clipping check was off by a factor 16 as well.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-09-13 14:41:51 -07:00
..
2007-02-14 08:09:53 -08:00
2008-08-05 14:33:46 -07:00
2008-08-05 14:33:46 -07:00
2008-08-05 14:33:46 -07:00
2007-05-08 11:15:15 -07:00
2007-10-16 09:43:10 -07:00
2008-07-24 10:47:30 -07:00