dmaengine: add context parameter to prep_slave_sg and prep_dma_cyclic
authorAlexandre Bounine <alexandre.bounine@idt.com>
Thu, 8 Mar 2012 20:35:13 +0000 (15:35 -0500)
committerVinod Koul <vinod.koul@linux.intel.com>
Wed, 21 Mar 2012 13:50:23 +0000 (19:20 +0530)
commit185ecb5f4fd43911c35956d4cc7d94a1da30417f
treeebbdb7f15157d19d8af892cd7948d93947d09ec2
parent16052827d98fbc13c31ebad560af4bd53e2b4dd5
dmaengine: add context parameter to prep_slave_sg and prep_dma_cyclic

Add context parameter to device_prep_slave_sg() and device_prep_dma_cyclic()
interfaces to allow passing client/target specific information associated
with the data transfer.
Modify all affected DMA engine drivers.

Signed-off-by: Alexandre Bounine <alexandre.bounine@idt.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Vinod Koul <vinod.koul@linux.intel.com>
19 files changed:
drivers/dma/amba-pl08x.c
drivers/dma/at_hdmac.c
drivers/dma/coh901318.c
drivers/dma/dw_dmac.c
drivers/dma/ep93xx_dma.c
drivers/dma/fsldma.c
drivers/dma/imx-dma.c
drivers/dma/imx-sdma.c
drivers/dma/intel_mid_dma.c
drivers/dma/ipu/ipu_idmac.c
drivers/dma/mxs-dma.c
drivers/dma/pch_dma.c
drivers/dma/pl330.c
drivers/dma/shdma.c
drivers/dma/sirf-dma.c
drivers/dma/ste_dma40.c
drivers/dma/timb_dma.c
drivers/dma/txx9dmac.c
include/linux/dmaengine.h