diff options
author | Dan Williams <dan.j.williams@intel.com> | 2008-07-04 07:13:40 (GMT) |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2008-07-08 18:59:12 (GMT) |
commit | e1d181efb14a93cf263d6c588a5395518edf3294 (patch) | |
tree | 1792d1faa7e344401789bbcfad8102d0d93036e2 /drivers/dma/dw_dmac.c | |
parent | 848c536a37b8db4e461f14ca15fe29850151c822 (diff) | |
download | linux-fsl-qoriq-e1d181efb14a93cf263d6c588a5395518edf3294.tar.xz |
dmaengine: add DMA_COMPL_SKIP_{SRC,DEST}_UNMAP flags to control dma unmap
In some cases client code may need the dma-driver to skip the unmap of source
and/or destination buffers. Setting these flags indicates to the driver to
skip the unmap step. In this regard async_xor is currently broken in that it
allows the destination buffer to be unmapped while an operation is still in
progress, i.e. when the number of sources exceeds the hardware channel's
maximum (fixed in a subsequent patch).
Acked-by: Saeed Bishara <saeed@marvell.com>
Acked-by: Maciej Sosnowski <maciej.sosnowski@intel.com>
Acked-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/dma/dw_dmac.c')
0 files changed, 0 insertions, 0 deletions