summaryrefslogtreecommitdiffstats
path: root/drivers/spi/pxa2xx_spi.c
diff options
context:
space:
mode:
authorSonic Zhang2007-12-05 08:45:17 +0100
committerLinus Torvalds2007-12-05 18:21:19 +0100
commitcc487e732089360727e60f9fdbe3ff6cc4ca3155 (patch)
treea4037cc7b238b582c50ff0520c5a47822e0f83fc /drivers/spi/pxa2xx_spi.c
parentspi: spi_bfin, rearrange portmux calls (diff)
downloadkernel-qcow2-linux-cc487e732089360727e60f9fdbe3ff6cc4ca3155.tar.gz
kernel-qcow2-linux-cc487e732089360727e60f9fdbe3ff6cc4ca3155.tar.xz
kernel-qcow2-linux-cc487e732089360727e60f9fdbe3ff6cc4ca3155.zip
spi: spi_bfin: change handling of communication parameters
Fix SPI driver to work with SPI flash ST M25P16 on bf548 Currently the SPI driver enables the SPI controller and sets the SPI baud register for each SPI transfer. But they should never be changed within a SPI message session, in which several SPI transfers are pumped. This patch moves SPI setting to the begining of a message session, and never disables SPI controller until an error occurs. Signed-off-by: Sonic Zhang <sonic.zhang@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.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>
Diffstat (limited to 'drivers/spi/pxa2xx_spi.c')
0 files changed, 0 insertions, 0 deletions