diff options
author | Haavard Skinnemoen <haavard.skinnemoen@atmel.com> | 2008-04-30 07:52:17 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-30 15:29:31 (GMT) |
commit | 592e7bf80566bf5ac3ed073d4e198dd5b0824c04 (patch) | |
tree | 8e778b8c93a16b11085099214f729b3795fd19a9 /usr | |
parent | c6495aaabfaa8256c292c54b48ab081f4d86ad79 (diff) | |
download | linux-fsl-qoriq-592e7bf80566bf5ac3ed073d4e198dd5b0824c04.tar.xz |
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>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions