commit | c0409feb86893f5ccf73964c7b2b47ca64bdb014 | [log] [tgz] |
---|---|---|
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | Mon Aug 22 09:45:39 2011 -0700 |
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | Mon Aug 22 09:59:20 2011 -0700 |
tree | cb889f2e239a6261e8b657979b932b32bae579da | |
parent | 6337de2204be3b7b40825a1d30de30e514e8947b [diff] |
Input: ad714x - use DMA-safe buffers for spi_write() 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>