]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf0189a70c3addfc12a13f8769c54139f9aec325a
tree29880eba49d051bb6663e5c2c583ff1fe5067bc3
parent2035ed0dd72f9f84f80ba283630b48030eebddb6
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