summary refs log tree commit diff
path: root/drivers/watchdog
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>2016-06-30 17:15:18 +0200
committerVinod Koul <vinod.koul@intel.com>2016-07-08 11:09:10 +0530
commit55bd582b4d8c2266bc43cbae2ddfce31b489618f (patch)
treefda48990a482ed0d73b72f678c14b7d94f721621 /drivers/watchdog
parent48c73659abae103a2f8531f825ce7a3f8dedbb39 (diff)
downloadlinux-55bd582b4d8c2266bc43cbae2ddfce31b489618f.tar.gz
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 'drivers/watchdog')
0 files changed, 0 insertions, 0 deletions