Commit 087ffdd2 authored by Vinod Koul's avatar Vinod Koul

dmaengine: Revert "rcar-dmac: use TCRB instead of TCR for residue"

This reverts commit 847449f2: ("dmaengine: rcar-dmac: use TCRB instead
of TCR for residue") as it breaks small serial console.
Reported-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: default avatarVinod Koul <vinod.koul@intel.com>
parent 847449f2
...@@ -1310,7 +1310,7 @@ static unsigned int rcar_dmac_chan_get_residue(struct rcar_dmac_chan *chan, ...@@ -1310,7 +1310,7 @@ static unsigned int rcar_dmac_chan_get_residue(struct rcar_dmac_chan *chan,
} }
/* Add the residue for the current chunk. */ /* Add the residue for the current chunk. */
residue += rcar_dmac_chan_read(chan, RCAR_DMATCRB) << desc->xfer_shift; residue += rcar_dmac_chan_read(chan, RCAR_DMATCR) << desc->xfer_shift;
return residue; return residue;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment