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
..
2008-04-21 22:38:45 +00:00
2008-04-29 08:06:27 -07:00
2008-04-29 13:46:54 -07:00
2008-04-29 08:06:27 -07:00
2008-04-29 08:06:18 -07:00
2008-04-23 21:25:35 -04:00
2008-04-29 08:06:28 -07:00
2008-04-07 13:14:22 -07:00
2008-04-24 23:57:33 +02:00
2008-04-24 23:57:33 +02:00