linux/drivers/spi
David Brownell 568d0697f4 spi: handle TX-only/RX-only
Support two new half-duplex SPI implementation restrictions, for links
that talk to TX-only or RX-only devices.  (Existing half-duplex flavors
support both transfer directions, just not at the same time.)

Move spi_async() into the spi.c core, and stop inlining it.  Then make
that function perform error checks and reject messages that demand more
than the underlying controller can support.

Based on a patch from Marek Szyprowski which did this only for the
bitbanged GPIO driver.

Cc: Marek Szyprowski <m.szyprowski@samsung.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-09-23 07:39:44 -07:00
..
Kconfig spi: Freescale STMP driver 2009-09-23 07:39:44 -07:00
Makefile spi: Freescale STMP driver 2009-09-23 07:39:44 -07:00
amba-pl022.c
atmel_spi.c
atmel_spi.h
au1550_spi.c
mpc52xx_psc_spi.c
mxc_spi.c
omap2_mcspi.c spi: McSPI support for OMAP4 2009-09-23 07:39:44 -07:00
omap_uwire.c
orion_spi.c
pxa2xx_spi.c pxa2xx_spi: register earlier 2009-09-23 07:39:43 -07:00
spi.c spi: handle TX-only/RX-only 2009-09-23 07:39:44 -07:00
spi_bfin5xx.c
spi_bitbang.c
spi_butterfly.c
spi_gpio.c
spi_lm70llp.c
spi_mpc8xxx.c
spi_ppc4xx.c
spi_s3c24xx.c spi_s3c24xx: cache device setup data 2009-09-23 07:39:44 -07:00
spi_s3c24xx_gpio.c
spi_sh_sci.c
spi_stmp.c spi: Freescale STMP driver 2009-09-23 07:39:44 -07:00
spi_txx9.c
spidev.c
tle62x0.c
xilinx_spi.c