diff options
author | Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> | 2016-06-30 15:15:18 (GMT) |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2016-07-08 05:39:10 (GMT) |
commit | 55bd582b4d8c2266bc43cbae2ddfce31b489618f (patch) | |
tree | fda48990a482ed0d73b72f678c14b7d94f721621 /REPORTING-BUGS | |
parent | 48c73659abae103a2f8531f825ce7a3f8dedbb39 (diff) | |
download | linux-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 'REPORTING-BUGS')
0 files changed, 0 insertions, 0 deletions