]> git.baikalelectronics.ru Git - kernel.git/commit
spi: spi_mpc83xx clockrate fixes
authorChen Gong <g.chen@freescale.com>
Thu, 24 Jul 2008 04:29:52 +0000 (21:29 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 24 Jul 2008 17:47:30 +0000 (10:47 -0700)
commitcbd3eb714b9ee686c47748cf0060ceae07c85cef
tree28c038919fa2d526dbf6992d88956409d0beffc2
parenta8baa86a6c94872aff5e7422cb056c094b00023e
spi: spi_mpc83xx clockrate fixes

This updates the SPI clock rate calculations for the spi_mpc83xx driver.
Some boundary conditions were wrong, and in several cases divide-by-16
wasn't always needed

Signed-off-by: Chen Gong <g.chen@freescale.com>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/spi/spi_mpc83xx.c