OSDN Git Service

ata: pata_pxa: remove the dmaengine compat need
authorRobert Jarzmik <robert.jarzmik@free.fr>
Sun, 17 Jun 2018 17:02:13 +0000 (19:02 +0200)
committerRobert Jarzmik <robert.jarzmik@free.fr>
Mon, 18 Jun 2018 19:32:07 +0000 (21:32 +0200)
commit273340e8bf86de53eef7073993352ea11c563696
tree4f49088d7409864557ab761b662d5b32fb134229
parentac75a50b6de3b092d084fdd9818707d0d5073ad6
ata: pata_pxa: 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: Robert Jarzmik <robert.jarzmik@free.fr>
Acked-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
drivers/ata/pata_pxa.c