async_memcpy: convert to dmaengine_unmap_data
authorDan Williams <dan.j.williams@intel.com>
Fri, 18 Oct 2013 17:35:25 +0000 (19:35 +0200)
committerDan Williams <dan.j.williams@intel.com>
Thu, 14 Nov 2013 19:00:39 +0000 (11:00 -0800)
commit8971646294bda65f8666b60cb2cb3d5e172c99bf
treeb3d75fd6c909de400e8028a337d70ca943180c87
parent45c463ae924c62af4aa64ded1ca831f334a1db65
async_memcpy: convert to dmaengine_unmap_data

Use the generic unmap object to unmap dma buffers.

Cc: Vinod Koul <vinod.koul@intel.com>
Cc: Tomasz Figa <t.figa@samsung.com>
Cc: Dave Jiang <dave.jiang@intel.com>
Reported-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
[bzolnier: add missing unmap->len initialization]
[bzolnier: fix whitespace damage]
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
[djbw: add DMA_ENGINE=n support]
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
crypto/async_tx/async_memcpy.c
drivers/dma/dmaengine.c
include/linux/dmaengine.h