this patch set contains the following changes
1. fix issues in cyclic dma
2. add support to SYNC DMA termination
3. avoid system hang, when SDMA channel 0 timeouts
4. add lock to prevent race condition
Jiada Wang (10):
dma: imx-sdma: use chn_real_count to report residue for UART
dma: imx-sdma: don't update BD in isr routine
dma: imx-sdma: clear BD_RROR flag before pass it to sdma script
dma: imx-sdma: update sdma channel status for cyclic dma
dma: imx-sdma: add flag to indicate SDMA channel state
dma: imx-sdma: add terminate_all support
dma: imx-sdma: Add synchronization support
dma: imx-sdma: abort updating channel when it has been terminated
dma: imx-sdma: disable channel 0 when it timeouts
dma: imx-sdma: clear channel0 interrupt bit in irq routine
drivers/dma/imx-sdma.c | 113 +++++++++++++++++++++++++++++++++++--------------
1 file changed, 82 insertions(+), 31 deletions(-)