dma: ti: k3-udma: Do not touch RT registers before channel configuration
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Thu, 25 Apr 2019 06:38:15 +0000 (12:08 +0530)
committerTom Rini <trini@konsulko.com>
Fri, 3 May 2019 11:23:17 +0000 (07:23 -0400)
commit5487772517817a7e3b501062f3962b56fad34075
tree2717f650f6a971c66b563eff0b206450612c30bb
parent32aebcf244bea1c3270aa1f87b2be8e5f0fa546e
dma: ti: k3-udma: Do not touch RT registers before channel configuration

Upcoming sysfw (2019.03) will not open the channelized firewalls during
init, it only going to do so in response to the channel configuration
message.

Remove the channel state checks done before the channel configuration and
move it after the configuration for warning purposes.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
Reviewed-by: Grygorii Strashko <grygorii.strashko@ti.com>
drivers/dma/ti/k3-udma.c