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-test`application, 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(-) -- 2.7.1 -- To unsubscribe from this list: send the line "unsubscribe dmaengine" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html