summaryrefslogtreecommitdiff
path: root/sound/sh
diff options
context:
space:
mode:
authorDavid Brownell <dbrownell@users.sourceforge.net>2009-09-22 23:46:18 (GMT)
committerLinus Torvalds <torvalds@linux-foundation.org>2009-09-23 14:39:44 (GMT)
commit568d0697f42771425ae9f1e9a3db769fef7e10b6 (patch)
tree8f4d1178b88481e3d3daba3e049c700a3cef72e4 /sound/sh
parent7869c0b9ed44404bbc675ef76f8ccb3be5496f39 (diff)
downloadlinux-568d0697f42771425ae9f1e9a3db769fef7e10b6.tar.xz
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>
Diffstat (limited to 'sound/sh')
0 files changed, 0 insertions, 0 deletions