]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
Blackfin SPI Driver: use len_in_bytes when we care about the number of bytes transferred
authorMike Frysinger <vapier.adi@gmail.com>
Tue, 7 Apr 2009 02:00:34 +0000 (19:00 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 7 Apr 2009 15:31:04 +0000 (08:31 -0700)
commitace32865a3767e4e385b883868c228a2a6db225a
tree0bbb05b1f8b3d9936e1b78ea6cb1fedc1a032961
parenta42e809aa3150cf03698e10e57eb067dac6805a3
Blackfin SPI Driver: use len_in_bytes when we care about the number of bytes transferred

Use len_in_bytes when we care about the number of bytes transferred rather
than the number of spi transactions.  (this value will be the same for
8bit transfers, but not any other sizes)

Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
Acked-by: David Brownell <dbrownell@users.sourceforge.net>
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