]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commita61f5345eba34772a71523227de890a28410f320
tree28c038919fa2d526dbf6992d88956409d0beffc2
parent708d8cefd0f6d8dc13027f899e865ccfa5f63871
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