From: Haavard Skinnemoen Date: Wed, 30 Apr 2008 07:52:17 +0000 (-0700) Subject: atmel_spi: clean up baud rate divisor calculation X-Git-Tag: v2.6.26-rc1~337 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=592e7bf80566bf5ac3ed073d4e198dd5b0824c04;p=pandora-kernel.git 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 Cc: "Janesh Ramakrishnan" Acked-by David Brownell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed