Re: [PATCH] dmaengine: add dma_ctrl_cmd to pass buffer stride configuration

From: Dan Williams
Date: Mon Jul 11 2011 - 17:39:21 EST


On Mon, Jul 11, 2011 at 2:28 AM, Linus Walleij <linus.walleij@xxxxxxxxxx> wrote:
> 2011/7/10 Sundaram Raju <sundaram@xxxxxx>:
>
>> Added new dma_ctrl_cmd TI_DMA_STRIDE_CONFIG to pass the TI DMA
>> controller specific configurations on how a buffer must be walked
>> through and how data is picked for transfer based on a specified
>> pattern over the channel.
>>
>> The configuration passed is specific to the TI DMA controller used.

...and I suspect the slave device drivers that use TI DMA are not
expected to ever work with other dmaengines? Likely the case, but
just wondering out loud.

>> Signed-off-by: Sundaram Raju <sundaram@xxxxxx>
>
> This is exactly how I think we should do this.
> Acked-by: Linus Walleij <linus.walleij@xxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/