OSDN Git Service

dmaengine: pxa: use a dma slave map
authorRobert Jarzmik <robert.jarzmik@free.fr>
Sun, 17 Jun 2018 17:02:04 +0000 (19:02 +0200)
committerRobert Jarzmik <robert.jarzmik@free.fr>
Mon, 18 Jun 2018 19:28:44 +0000 (21:28 +0200)
commit420c0117db25db38b72b6230223f7a976d3070ea
tree86bf48f8125d43fdbd0cb67fe1088001298167a6
parentce397d215ccd07b8ae3f71db689aedb85d56ab40
dmaengine: pxa: use a dma slave map

In order to remove the specific knowledge of the dma mapping from PXA
drivers, add a default slave map for pxa architectures.

This won't impact MMP architecture, but is aimed only at all PXA boards.

This is the first step, and once all drivers are converted,
pxad_filter_fn() will be made static, and the DMA resources removed from
device.c.

Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
Reported-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/pxa_dma.c
include/linux/platform_data/mmp_dma.h