]> git.baikalelectronics.ru Git - kernel.git/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)
commit2035ed0dd72f9f84f80ba283630b48030eebddb6
tree18521ecaa37b2d51b97f3b4f256762dca1d445cb
parent51af6617f013808a88a2693fe2fd06f7fc798aeb
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