]> git.baikalelectronics.ru Git - kernel.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)
commitc3d5cbb79ccebcb7d83bab2ae79b7ea75d089414
tree0bbb05b1f8b3d9936e1b78ea6cb1fedc1a032961
parent1e0e2cbd2802cba28654940021e6961b9e15eb71
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