[PATCH 7/8] dmaengine/dw_dmac: Unmap all memory buffers after completion of slave transfers

Linus Walleij linus.walleij at linaro.org
Thu Jan 19 12:34:56 EST 2012


On Tue, Jan 17, 2012 at 10:07 AM, Viresh Kumar <viresh.kumar at st.com> wrote:

>> Why do you want to do this?
>
> This is because people can pass in flags which are
> DMA_COMPL_SKIP_SRC_UNMAP, etc.
>
> If they are not passed, then DMA driver must do it for them.

OK I see why it's confusing.

That flag is only for memcpy jobs.

Only memcpy jobs maps/unmaps buffers.

Slave transfers are mapped/unmapped by the driver.

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list