Input: ad714x - use DMA-safe buffers for spi_write()
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 22 Aug 2011 16:45:39 +0000 (09:45 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 22 Aug 2011 16:59:20 +0000 (09:59 -0700)
spi_write() requires use of DMA-safe (cacheline aligned) buffers.
Also use the same buffers when reading data since to avoid extra
locking and potential memory allocation in spi_write_then_read().

Acked-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>

No differences found