alistair23-linux/include/linux/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
..
ad7877.h
ad7879.h
ads7846.h
at73c213.h
corgi_lcd.h
ds1305.h
eeprom.h
flash.h
Kbuild
libertas_spi.h
max7301.h
mcp23s08.h
mmc_spi.h
orion_spi.h
spi.h spi: handle TX-only/RX-only 2009-09-23 07:39:44 -07:00
spi_bitbang.h
spi_gpio.h
spidev.h
tdo24m.h
tle62x0.h
wl12xx.h