]> err.no Git - linux-2.6/commit
spi_bfin: wait for tx to complete on some cs_chg paths
authorBryan Wu <bryan.wu@analog.com>
Wed, 6 Feb 2008 09:38:18 +0000 (01:38 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 6 Feb 2008 18:41:11 +0000 (10:41 -0800)
commite26aa015dd34d5768b80815836ad60e8495e9553
tree18521ecaa37b2d51b97f3b4f256762dca1d445cb
parentaab0d83ee771b19082c3ee24576cf5508d319294
spi_bfin: wait for tx to complete on some cs_chg paths

PBX 2 SPI devices need the nonstandard "cs change per word" mechanism.

This patch is one of three updating this driver to make the last data bits get
sent before advancing the transfer ...  in this case, before the chipselect
gets deactivated.

Signed-off-by: Bryan Wu <bryan.wu@analog.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>
drivers/spi/spi_bfin5xx.c