Haavard Skinnemoen 592e7bf805 atmel_spi: clean up baud rate divisor calculation
Make the baud rate divisor calculation code a bit more readable and add a
few comments.

Also fix wrong debug information being displayed when !new_1 and
max_speed_hz == 0.

[david-b@pacbell.net: fix it]
Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
Cc: "Janesh Ramakrishnan" <jramakrishnan@neuropace.com>
Acked-by David Brownell <david-b@pacbell.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-04-30 08:29:31 -07:00
..
2007-02-14 08:09:53 -08:00
2008-04-28 08:58:31 -07:00
2008-02-06 10:41:11 -08:00
2008-04-28 08:58:31 -07:00
2007-05-08 11:15:15 -07:00
2008-04-28 08:58:31 -07:00
2007-10-16 09:43:10 -07:00
2007-10-29 07:41:33 -07:00