]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit82b869404a4daf4e2c51fb3beb464e5d909a6e76
tree86bf48f8125d43fdbd0cb67fe1088001298167a6
parent0d5624e606504772b89d3c3d6b1be740ef176c61
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