OSDN Git Service

dmaengine: Add consumer for the new DMA_MEMCPY_SG API function.
authorAdrian Larumbe <adrianml@alumnos.upm.es>
Mon, 1 Nov 2021 18:08:25 +0000 (18:08 +0000)
committerVinod Koul <vkoul@kernel.org>
Mon, 22 Nov 2021 06:08:05 +0000 (11:38 +0530)
commit29cf37fa6dd9c4de81b745ad3ae77f3709931d1e
tree2808fa415e1a27b6c95956c930318aef6f14c411
parent3218910fd5858842a1dd98ce92b602f0878f8210
dmaengine: Add consumer for the new DMA_MEMCPY_SG API function.

This new CDMA binding for device_prep_dma_memcpy_sg was partially borrowed
from xlnx kernel tree, an expanded with extended address space support when
linking descriptor segments and checking for incorrect zero transfer size.

Signed-off-by: Adrian Larumbe <adrianml@alumnos.upm.es>
Link: https://lore.kernel.org/r/20211101180825.241048-4-adrianml@alumnos.upm.es
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/xilinx/xilinx_dma.c