dmaengine: ti: k3-udma: Use udma_chan instead of tchan/rchan for IO functions
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Tue, 7 Jul 2020 10:23:52 +0000 (13:23 +0300)
committerVinod Koul <vkoul@kernel.org>
Wed, 15 Jul 2020 06:06:55 +0000 (11:36 +0530)
commitdb375dcb12250bbc148aef0fa8da747aaa8cf6ec
tree408e64b20e67d6c0c38721009290f9127382af02
parent67414f8db560e5d8dd621f451fb5b50796c8fe6d
dmaengine: ti: k3-udma: Use udma_chan instead of tchan/rchan for IO functions

Move the uc->tchan/rchan checks to the IO wrappers itself instead of
calling the functions with tchan/rchan directly.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Reviewed-by: Grygorii Strashko <grygorii.strashko@ti.com>
Link: https://lore.kernel.org/r/20200707102352.28773-6-peter.ujfalusi@ti.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/ti/k3-udma.c