]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita012c740af7de73888c2ed1f994e46aed7a80243
tree4f49088d7409864557ab761b662d5b32fb134229
parent979df89d2e8e1d7a990559cc8b63c407f45616fb
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