dmaengine: ti: k3-udma: Fix TR mode flags for slave_sg and memcpy
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Tue, 12 May 2020 13:45:31 +0000 (16:45 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 7 Jun 2020 11:16:45 +0000 (13:16 +0200)
commit9a05a7b37fb1a8dc3b56ea79a512f530fededc6b
tree90b1bf852e53ab7fb4702045213c4d080a5d7046
parentded1fa1f5b7d1486f8d02b79c9d773332b2951f4
dmaengine: ti: k3-udma: Fix TR mode flags for slave_sg and memcpy

[ Upstream commit be4054b8b6671ebc977eb7774b8e889d2d05d3e3 ]

cppi5_tr_csf_set() clears previously set Configuration Specific Flags.
Setting the EOP flag clears the SUPR_EVT flag for the last TR which is not
desirable as we do not want to have events from the TR.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Link: https://lore.kernel.org/r/20200512134531.5742-1-peter.ujfalusi@ti.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/dma/ti/k3-udma.c