Skip to content

dmaengine: imx-sdma - fix the dma residue calculation

Nandor Han lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1dmaengine: imx-sdma - correct the dma transfer residue calculationdrivers/dma/imx-sdma.c+9 -43 replies

Reviews trailers per patch

The patch has a Reviewed-by or Acked-by.

PatchPeter Senna TschudinMarek Vasut
1/1A-b T-b T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/1] dmaengine: imx-sdma - fix the dma residue calculation

The patch will correct the calculation of the dma residue taking in consideration that some subsystem can check the dma status without waiting the dma complete event.

Affected devices: imx based device using sdma module with cyclic channels.

Tested on imx6 and imx53 by playing wav files using speaker-testapplication, part of alsa-utils package, and verify that the sound plays smoothly without interruptions. Verified also the serial communication by transferring data over the serial line using various packet sizes and checked the logs and the serial port status (cat /proc/tty/driver/IMX-uart) that no data is lost.

Nandor Han (1):
dmaengine: imx-sdma - correct the dma transfer residue calculation

 drivers/dma/imx-sdma.c | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)
Signature · 1 line
2.7.1