dmaengine: pl08x: Add support for the DMA slave map
authorSylwester Nawrocki <s.nawrocki@samsung.com>
Thu, 10 Nov 2016 15:17:49 +0000 (16:17 +0100)
committerVinod Koul <vinod.koul@intel.com>
Thu, 17 Nov 2016 10:21:28 +0000 (15:51 +0530)
commitda6f8ca13fb7d40f263ef647ebb41ff0a575d194
tree10884ea1676539adf3b4ed6a20ad0c65831ea95f
parent1001354ca34179f3db924eb66672442a173147dc
dmaengine: pl08x: Add support for the DMA slave map

This patch adds support for the new channel request API introduced
in commit a8135d0d79e9d0ad3a4ff494fceeaae83
"dmaengine: core: Introduce new, universal API to request a channel".

param field of struct dma_slave_map type entries in the platform
data structure should be pointing to struct pl08x_channel_data
of related DMA channel.

Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Tested-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/amba-pl08x.c
include/linux/amba/pl08x.h