diff options
author | Ludovic Desroches <ludovic.desroches@atmel.com> | 2016-05-12 16:54:10 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-08-10 11:49:25 +0200 |
commit | 6b373d53e8b99b7e1d4568914851a21bbd07d3bc (patch) | |
tree | c1b310c21da6f18d9d593af25dd8156b8abad61d /mm/internal.h | |
parent | 5ce7333f41a81e82d54537e5057224a3cdc78342 (diff) |
dmaengine: at_xdmac: double FIFO flush needed to compute residue
commit 9295c41d77ca93aac79cfca6fa09fa1ca5cab66f upstream.
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 <ludovic.desroches@atmel.com>
Fixes: e1f7c9eee707 ("dmaengine: at_xdmac: creation of the atmel
eXtended DMA Controller driver")
Reviewed-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'mm/internal.h')
0 files changed, 0 insertions, 0 deletions