[PATCH 0/1] dmaengine: imx-sdma - fix the dma residue calculation
From: Nandor Han
Date: Tue Oct 11 2016 - 08:22:05 EST
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(-)