Blackfin SPI driver: reconfigure speed_hz and bits_per_word in each spi transfer
authorBryan Wu <bryan.wu@analog.com>
Wed, 5 Dec 2007 07:45:23 +0000 (23:45 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 5 Dec 2007 17:21:20 +0000 (09:21 -0800)
commit092e1fdaf35126475aef0dc70f4a2ce4f2f43052
tree260533dc1aa4fb1e448ae3cc29c30d92c6363efb
parent003d922618150eaab53936f57ba8a61f2b601486
Blackfin SPI driver: reconfigure speed_hz and bits_per_word in each spi transfer

 - reconfigure SPI baud from speed_hz of each spi transfer
 - according to spi_transfer.bits_per_word to reprogram register and setup
   correct SPI operation handlers

Signed-off-by: Bryan Wu <bryan.wu@analog.com>
Cc: David Brownell <david-b@pacbell.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/spi/spi_bfin5xx.c