Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dmaengine: at_xdmac: double FIFO flush needed to compute residue
Due to the way CUBC register is updated, a double flush is needed to compute an accurate residue. First flush aim is to get data from the DMA FIFO and second one ensures that we won't report data which are not in memory. Signed-off-by: Ludovic Desroches <[email protected]> Fixes: e1f7c9e ("dmaengine: at_xdmac: creation of the atmel eXtended DMA Controller driver") Cc: [email protected] #v4.1 and later Reviewed-by: Nicolas Ferre <[email protected]> Signed-off-by: Vinod Koul <[email protected]>
- Loading branch information