dmaengine: ti: k3-udma: Use proper return code in alloc_chan_resources

In udma_alloc_chan_resources() if the channel is not willing to stop then
the function should return with error code.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Link: https://lore.kernel.org/r/20200512134519.5642-1-peter.ujfalusi@ti.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
This commit is contained in:
Peter Ujfalusi 2020-05-12 16:45:19 +03:00 • committed by Vinod Koul
commit 7ae6d7bd73