dma: ti: k3-udma: Fix ring push operation for 32 bit cores
authorVignesh Raghavendra <vigneshr@ti.com>
Mon, 9 Dec 2019 04:55:38 +0000 (10:25 +0530)
committerLokesh Vutla <lokeshvutla@ti.com>
Mon, 20 Jan 2020 04:40:28 +0000 (10:10 +0530)
commitb0ab00839f3ffff9bd3573c204938004d84d05a5
tree443e6d3d3fc0f5f3d95f3243efd90a3ea461e2b9
parentce1a307358c0b5b1c45cb287f74ae3dd8f86415d
dma: ti: k3-udma: Fix ring push operation for 32 bit cores

UDMA always expects 64 bit address pointer of the transfer descriptor in
the Ring. But on 32 bit cores like R5, pointer is always 32 bit in size.
Therefore copy over 32 bit pointer value to 64 bit variable before
pushing it over to the ring, so that upper 32 bits are 0s.

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