[PATCH] SPI: spi bounce buffer has a minimum length
authorDavid Brownell <david-b@pacbell.net>
Sun, 2 Apr 2006 18:37:40 +0000 (10:37 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 16 May 2006 21:33:57 +0000 (14:33 -0700)
commita9948b6194b46e489aa3b4d111d6dfd786c39c4b
tree28f4984be0547c773ad24ef6ed882f1ae9cbede8
parent747d844ee9a183ff3067bb1181f2a25c50649538
[PATCH] SPI: spi bounce buffer has a minimum length

Make sure that spi_write_then_read() can always handle at least 32 bytes
of transfer (total, both directions), minimizing one portability issue.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/spi/spi.c