diff options
author | Dirk Behme <dirk.behme@de.bosch.com> | 2019-04-12 08:29:13 +0300 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2019-04-23 08:15:26 +0300 |
commit | 907bd68a2edc491849e2fdcfe52c4596627bca94 (patch) | |
tree | 0b53f6b614d116de7272c2b28175faf9c68894fd /drivers/firmware | |
parent | f147384774a7b24dda4783a3dcd61af272757ea8 (diff) | |
download | linux-907bd68a2edc491849e2fdcfe52c4596627bca94.tar.xz |
dmaengine: sh: rcar-dmac: With cyclic DMA residue 0 is valid
Having a cyclic DMA, a residue 0 is not an indication of a completed
DMA. In case of cyclic DMA make sure that dma_set_residue() is called
and with this a residue of 0 is forwarded correctly to the caller.
Fixes: 3544d2878817 ("dmaengine: rcar-dmac: use result of updated get_residue in tx_status")
Signed-off-by: Dirk Behme <dirk.behme@de.bosch.com>
Signed-off-by: Achim Dahlhoff <Achim.Dahlhoff@de.bosch.com>
Signed-off-by: Hiroyuki Yokoyama <hiroyuki.yokoyama.vx@renesas.com>
Signed-off-by: Yao Lihua <ylhuajnu@outlook.com>
Reviewed-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Cc: <stable@vger.kernel.org> # v4.8+
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/firmware')
0 files changed, 0 insertions, 0 deletions