[PATCH v3 3/4] dmatest: add dmaengine_slave_config for DMA_MEMCPY

Russell King - ARM Linux linux at arm.linux.org.uk
Tue Aug 14 04:20:47 EDT 2012


On Tue, Aug 14, 2012 at 12:11:58PM +0800, Zhangfei Gao wrote:
> Set direction to DMA_MEM_TO_MEM
> DMA driver may require such configure info

No, this is wrong.  By default, any channel being asked to do memcpy
should deal with the channel configuration itself and not require it
to be set - otherwise this breaks the async_tx API.

So consider that dma-test found a bug in your driver which needs fixing.



More information about the linux-arm-kernel mailing list