diff options
author | Haavard Skinnemoen <haavard.skinnemoen@atmel.com> | 2008-04-30 00:52:17 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-30 08:29:31 -0700 |
commit | 592e7bf80566bf5ac3ed073d4e198dd5b0824c04 (patch) | |
tree | 8e778b8c93a16b11085099214f729b3795fd19a9 /drivers/video | |
parent | c6495aaabfaa8256c292c54b48ab081f4d86ad79 (diff) |
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 'drivers/video')
0 files changed, 0 insertions, 0 deletions