summaryrefslogtreecommitdiff
path: root/net/atm
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>2016-06-30 15:15:18 (GMT)
committerVinod Koul <vinod.koul@intel.com>2016-07-08 05:39:10 (GMT)
commit55bd582b4d8c2266bc43cbae2ddfce31b489618f (patch)
treefda48990a482ed0d73b72f678c14b7d94f721621 /net/atm
parent48c73659abae103a2f8531f825ce7a3f8dedbb39 (diff)
downloadlinux-55bd582b4d8c2266bc43cbae2ddfce31b489618f.tar.xz
dmaengine: rcar-dmac: Fix residue reporting for pending descriptors
Cookies corresponding to pending transfers have a residue value equal to the full size of the corresponding descriptor. The driver miscomputes that and uses the size of the active descriptor instead. Fix it. Reported-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> [geert: Also check desc.active list] Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'net/atm')
0 files changed, 0 insertions, 0 deletions