spi: spi_bfin: bugfix for 8..16 bit word sizes
authorBryan Wu <bryan.wu@analog.com>
Wed, 5 Dec 2007 07:45:19 +0000 (23:45 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 5 Dec 2007 17:21:20 +0000 (09:21 -0800)
commitc3061abb9e95920407288cba143dc1af0babf099
tree2dcb35cfdbb210fe0c7b9bc5ae81741aa81baa26
parentbb90eb00b6c28c8be5a69c6b58d5a6924f6f2ad7
spi: spi_bfin: bugfix for 8..16 bit word sizes

Fix bug in u16_cs_chg_reader to read data_len-2 bytes data firstly, then read
out the last 2 bytes data

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