Commits
Peter Ujfalusi committed abcf0244920
dmaengine: ti: k3-udma: Use different byte counters in tx_status Swap the byte counters we use in UDMAP for position calculation: MEM_TO_DEV - SBCNT (started byte counter) DEV_TO_MEM - BCNT (completed byte counter) MEM_TO_MEM - BCNT (completed byte counter) In hw I have never seen a case when SBCNT != BCNT, but to be sure we are reading the logically correct counter for the transfer direction. Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com> Reviewed-by: Grygorii Strashko <grygorii.strashko@ti.com> Tested-by: Keerthy <j-keerthy@ti.com>