[PATCH RFC v5 3/5] dma: of: Add common xlate function for matching by channel id

Alexander Popov a13xp0p0v88 at gmail.com
Thu Nov 7 22:33:10 EST 2013


2013/11/1 Arnd Bergmann <arnd at arndb.de>:
> On Friday 01 November 2013, Alexander Popov wrote:
>> + * of_dma_xlate_by_chan_id - Translate dt property to DMA channel by channel id
>> + * @dma_spec:        pointer to DMA specifier as found in the device tree
>> + * @of_dma:  pointer to DMA controller data
>
> This seems rather clumsy, now that we have added the dma_get_slave_channel interface.
> Can you try using that instead of dma_request_channel() now?
>

Thanks, Arnd.
I'll return with the fixed version.

Best regards,
Alexander.


More information about the Linuxppc-dev mailing list