spi: spidev: Use separate TX and RX bounce buffers
authorRay Jui <rjui@broadcom.com>
Thu, 9 Oct 2014 18:19:25 +0000 (11:19 -0700)
committerMark Brown <broonie@kernel.org>
Mon, 13 Oct 2014 11:07:12 +0000 (13:07 +0200)
commit865f6d1974ddd9eff7e10820c4f9f7c7179d6659
treeb5ecacca909aafae461e09cd6834daa015c30d4b
parenta2285b8c75bf7e21895f7c2cf75d6a910914517b
spi: spidev: Use separate TX and RX bounce buffers

By using separate TX and RX bounce buffers, we avoid potential cache
flush and invalidation sequence issue that may be encountered when a
single bounce buffer is shared between TX and RX

Signed-off-by: Ray Jui <rjui@broadcom.com>
Reviewed-by: JD (Jiandong) Zheng <jdzheng@broadcom.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spidev.c