]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
powerpc/512x: Use dma_request_chan() instead dma_request_slave_channel()
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Tue, 17 Dec 2019 07:37:30 +0000 (09:37 +0200)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 6 Jan 2020 05:25:29 +0000 (16:25 +1100)
commitfb185a4052b18c97ebc98f6a8db30a60abca35e0
tree110b5466e2b8e199db664759659f2f000419fdd9
parent1c7f4fe86f17f296bafab1d418c040533324bf4f
powerpc/512x: Use dma_request_chan() instead dma_request_slave_channel()

dma_request_slave_channel() is a wrapper on top of dma_request_chan()
eating up the error code.

By using dma_request_chan() directly the driver can support deferred
probing against DMA.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20191217073730.21249-1-peter.ujfalusi@ti.com
arch/powerpc/platforms/512x/mpc512x_lpbfifo.c