]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: rawnand: marvell: remove the dmaengine compat need
authorRobert Jarzmik <robert.jarzmik@free.fr>
Sun, 17 Jun 2018 17:02:09 +0000 (19:02 +0200)
committerRobert Jarzmik <robert.jarzmik@free.fr>
Mon, 18 Jun 2018 19:30:17 +0000 (21:30 +0200)
commitb28270760b70a9d6c1b47b748d6e9ef1d163c032
treef4b39f5e45eb19984902ff874bf79affecaae27b
parente1124fb8b4663ba6e7a0a5a2023f3eaba85e1e59
mtd: rawnand: marvell: remove the dmaengine compat need

As the pxa architecture switched towards the dmaengine slave map, the
old compatibility mechanism to acquire the dma requestor line number and
priority are not needed anymore.

This patch simplifies the dma resource acquisition, using the more
generic function dma_request_slave_channel().

Signed-off-by: Daniel Mack <daniel@zonque.org>
Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
Acked-by: Miquel Raynal <miquel.raynal@bootlin.com>
drivers/mtd/nand/raw/marvell_nand.c