1
linux/drivers/spi
Justin Clacherty 7f6ee1adc7 [PATCH] spi: fix error setting the spi mode in pxa2xx_spi.c
Currently the spi mode can be set to the wrong mode if you are switching
from any mode other than mode 0.  This is because the mode is set using a
bitwise or on uncleared bits.  The following patch clears the mode bits
before setting the new mode.  I've also modified it to use the appropriate
defines from pxa-regs.h for readability.

Signed-off-by: Justin Clacherty <justin@redfish-group.com>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-01-26 13:50:57 -08:00
..
Kconfig Fix misc Kconfig typos 2006-11-30 05:22:59 +01:00
Makefile
pxa2xx_spi.c [PATCH] spi: fix error setting the spi mode in pxa2xx_spi.c 2007-01-26 13:50:57 -08:00
spi_bitbang.c [PATCH] slab: remove SLAB_KERNEL 2006-12-07 08:39:24 -08:00
spi_butterfly.c [PATCH] spi: check platform_device_register_simple() error 2006-12-07 08:39:42 -08:00
spi_mpc83xx.c [PATCH] SPI: define null tx_buf to mean "shift out zeroes" 2006-12-30 10:56:42 -08:00
spi_s3c24xx_gpio.c [PATCH] spi_s3c24xx_gpio: use right header 2006-12-30 10:56:43 -08:00
spi_s3c24xx.c [PATCH] S3C24XX: fix passing spi chipselect to select routine 2007-01-26 13:50:57 -08:00
spi.c [PATCH] spi: set kset of master class dev explicitly 2006-12-07 08:39:33 -08:00