summaryrefslogtreecommitdiffstats
path: root/net/sched/cls_u32.c
diff options
context:
space:
mode:
authorLudovic Desroches <ludovic.desroches@atmel.com>2016-05-12 16:54:10 +0200
committerVinod Koul <vinod.koul@intel.com>2016-05-30 10:47:52 +0530
commit9295c41d77ca93aac79cfca6fa09fa1ca5cab66f (patch)
tree18a9444f8302117c4cb1412452f59f1707fca04a /net/sched/cls_u32.c
parent53398f488821c2b5b15291e3debec6ad33f75d3d (diff)
downloadop-kernel-dev-9295c41d77ca93aac79cfca6fa09fa1ca5cab66f.zip
op-kernel-dev-9295c41d77ca93aac79cfca6fa09fa1ca5cab66f.tar.gz
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 <ludovic.desroches@atmel.com> Fixes: e1f7c9eee707 ("dmaengine: at_xdmac: creation of the atmel eXtended DMA Controller driver") Cc: stable@vger.kernel.org #v4.1 and later Reviewed-by: Nicolas Ferre <nicolas.ferre@atmel.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'net/sched/cls_u32.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud