]> err.no Git - linux-2.6/commit
spi_mpc83xx: in "QE mode", use sysclk/2
authorAnton Vorontsov <avorontsov@ru.mvista.com>
Fri, 10 Aug 2007 20:01:01 +0000 (13:01 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sat, 11 Aug 2007 22:47:41 +0000 (15:47 -0700)
commite24a4d1ee337e3a67a502f3f19cdec3ffc45ad05
tree51b27df7a4b31424215d9cd1d3bf1395d6bfa76c
parent8dfe9c21a890e0c1214b85d3d90a84187638bf5b
spi_mpc83xx: in "QE mode", use sysclk/2

For MPC8349E input to the SPI Baud Rate Generator is SYSCLK, but it's
SYSCLK/2 for MPC8323E (SPI in QE).  Fix this, and remove confusion by
renaming the mpc83xx_spi->sysclk member as mpc83xx_spi->spibrg.

Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.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