spi_bfin: wait for tx to complete on full duplex paths
authorBryan Wu <bryan.wu@analog.com>
Wed, 6 Feb 2008 09:38:19 +0000 (01:38 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 6 Feb 2008 18:41:11 +0000 (10:41 -0800)
commit4fd432d9c7ac9a14e750d2ab0c91bc151e9af32e
tree29880eba49d051bb6663e5c2c583ff1fe5067bc3
parente26aa015dd34d5768b80815836ad60e8495e9553
spi_bfin: wait for tx to complete on full duplex paths

Full duplex SPI operation should not read a dummy byte at the first transfer.
Bug and fix by Jean-Christian de Rivaz <jc@eclis.ch>:

http://blackfin.uclinux.org/gf/project/uclinux-dist/tracker/?action=TrackerItemEdit&tracker_item_id=3678

Signed-off-by: Jean-Christian de Rivaz <jc@eclis.ch>
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