spi_bfin: wait for tx to complete on write paths
authorSonic Zhang <sonic.zhang@analog.com>
Wed, 6 Feb 2008 09:38:20 +0000 (01:38 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 6 Feb 2008 18:41:11 +0000 (10:41 -0800)
commit13f3e642b24632d206fe2f6a5ee8b275ea062790
tree39f2a7d7db8a68cb433fbc57aef2ce8c3ddd4c20
parent4fd432d9c7ac9a14e750d2ab0c91bc151e9af32e
spi_bfin: wait for tx to complete on write paths

SPI writes should also not return until the last bit is sent.

Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
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