dma: ti: k3-udma: Reset the channel during release
authorVignesh Raghavendra <vigneshr@ti.com>
Thu, 17 Sep 2020 14:41:22 +0000 (20:11 +0530)
committerLokesh Vutla <lokeshvutla@ti.com>
Mon, 12 Oct 2020 02:39:18 +0000 (08:09 +0530)
commit85bdcf03b79bb35b98fce26d8dd064cc1165917a
treeed34d60f5f897b101f099d0853770f92ec98c083
parent6d7364016a4da0d8faeb6a2566aed9e0f188ffbe
dma: ti: k3-udma: Reset the channel during release

Reset the channel completely during channel release in order to clear
teardown bit before handing over to next user or jumping to Linux.

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