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

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

 




ike Frysinger <vapier.adi@xxxxxxxxx> wrote:

>On Sun, Aug 21, 2011 at 16:09, 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().
>
>seems like there's a whole lot of style changes unrelated to spi and
>dma ... more so than the actual dma/spi change.

Hmm, I tried to control myself so (aside of return -> error) renames there shouldn't be many style changes... The diff looks big because we are passing ad714x instead of ad714x->dev to the read/write methods. 

-- 
Dmitry
--
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