Thread (12 messages) flat view 12 messages, 4 authors, 2011-08-23

Re: [PATCH 3/4] Input: ad714x - use DMA-safe buffers for spi_write()

From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Date: 2011-08-22 16:39:25

On Monday, August 22, 2011 04:43:52 AM Michael Hennerich wrote:
On 08/21/2011 10:09 PM, Dmitry Torokhov wrote:
quoted
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().

Signed-off-by: Dmitry Torokhov<redacted>
Looks good - one piece of the original patch set got lost.
Aww, sorry about that.
See below - patch follows.
Thank you very much, I'll fold it in your original patch - no reason
for having a known broken change in the tree if it can be corrected.

-- 
Dmitry
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help