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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Thanks!

Greetings,
Michael

--
Analog Devices GmbH      Wilhelm-Wagenfeld-Str. 6      80807 Muenchen
Sitz der Gesellschaft: Muenchen; Registergericht: Muenchen HRB 40368;
Geschaeftsfuehrer:Dr.Carsten Suckrow, Thomas Wessel, William A. Martin, Margaret Seif


--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux