linux-stable-rt/drivers/spi
David Brownell 529ba0d966 spi: bitbang bugfix in message setup
Bugfix to spi_bitbang infrastructure: make sure to always set transfer
parameters on the first pass through the message's per-transfer loop.
This can matter with drivers that replace the per-word or per-buffer
transfer primitives, on busses with multiple SPI devices.

Previously, this could have started messages using the settings left after
previous messages.  The problem was observed when a high speed chip
(m25p80 type flash) was running very slowly because a low speed device
(avr8 microcontroller) had previously used the bus.  Similar faults could
have driven the low speed device too fast, or used an unexpected word
size.

Acked-by: Steven A. Falco <sfalco@harris.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>
2009-06-30 18:56:00 -07:00
..
Kconfig spi_mpc8xxx: s/83xx/8xxx/g 2009-06-19 16:46:05 -07:00
Makefile spi_mpc8xxx: s/83xx/8xxx/g 2009-06-19 16:46:05 -07:00
amba-pl022.c
atmel_spi.c
atmel_spi.h
au1550_spi.c
mpc52xx_psc_spi.c
omap2_mcspi.c
omap_uwire.c spi: add spi_master flag word 2009-06-30 18:56:00 -07:00
orion_spi.c
pxa2xx_spi.c
spi.c
spi_bfin5xx.c
spi_bitbang.c spi: bitbang bugfix in message setup 2009-06-30 18:56:00 -07:00
spi_butterfly.c
spi_gpio.c
spi_imx.c
spi_lm70llp.c
spi_mpc8xxx.c spi_mpc8xxx: s/83xx/8xxx/g 2009-06-19 16:46:05 -07:00
spi_s3c24xx.c
spi_s3c24xx_gpio.c
spi_sh_sci.c
spi_txx9.c
spidev.c spi: new spi->mode bits 2009-06-30 18:56:00 -07:00
tle62x0.c
xilinx_spi.c