linux/drivers/spi
Markus Pietrek e8708ef7e8 spi: spi_sh_msiof: Fixed data sampling on the correct edge
The spi_sh_msiof.c driver presently misconfigures REDG and TEDG. TEDG==0
outputs data at the **rising edge** of the clock and REDG==0 samples data
at the **falling edge** of the clock. Therefore for SPI, TEDG must be
equal to REDG, otherwise the last byte received is not sampled in SPI
mode 3.

This brings the driver in line with the SH7723 HW Reference Manual
settings documented in Figures 20.20 and 20.21 ("SPI Clock and data
timing").

Signed-off-by: Markus Pietrek <Markus.Pietrek@emtrion.de>
Acked-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2010-02-02 11:29:15 +09:00
..
amba-pl022.c
atmel_spi.c
atmel_spi.h
au1550_spi.c
dw_spi_pci.c
dw_spi.c
Kconfig
Makefile
mpc52xx_psc_spi.c
mpc52xx_spi.c
omap2_mcspi.c
omap_spi_100k.c
omap_uwire.c
orion_spi.c
pxa2xx_spi.c
spi_bfin5xx.c
spi_bitbang.c
spi_butterfly.c
spi_gpio.c
spi_imx.c
spi_lm70llp.c
spi_mpc8xxx.c
spi_nuc900.c
spi_ppc4xx.c
spi_s3c24xx_fiq.h
spi_s3c24xx_fiq.S
spi_s3c24xx_gpio.c
spi_s3c24xx.c
spi_s3c64xx.c
spi_sh_msiof.c spi: spi_sh_msiof: Fixed data sampling on the correct edge 2010-02-02 11:29:15 +09:00
spi_sh_sci.c
spi_stmp.c
spi_txx9.c
spi.c
spidev.c
tle62x0.c
xilinx_spi_of.c
xilinx_spi_pltfm.c
xilinx_spi.c
xilinx_spi.h