dmaengine: Add function to request slave channel from a dma_device
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Wed, 28 Nov 2018 10:48:10 +0000 (12:48 +0200)
committerTero Kristo <t-kristo@ti.com>
Wed, 28 Nov 2018 10:52:31 +0000 (12:52 +0200)
commit95a6db2118a8a3a6be3af333fb1f9f1f66101b09
tree0d814bd5ee74f8fb9ea02841add4ffed3c823797
parent99717799e0f88703eaa8df5e14a351641c61f49e
dmaengine: Add function to request slave channel from a dma_device

dma_get_any_slave_channel() would skip using the filter function, which
in some cases needed to be executed before the alloc_chan_resources
callback to make sure that all parameters are provided for the slave
channel.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
drivers/dma/dmaengine.c
include/linux/dmaengine.h