[PATCH 7/8] dmaengine/dw_dmac: Unmap all memory buffers after completion of slave transfers
From: Linus Walleij <hidden>
Date: 2012-01-19 17:34:59
Also in:
lkml
From: Linus Walleij <hidden>
Date: 2012-01-19 17:34:59
Also in:
lkml
On Tue, Jan 17, 2012 at 10:07 AM, Viresh Kumar [off-list ref] wrote:
quoted
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