mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-30 14:19:16 +00:00
dmaengine: Revert "rcar-dmac: use TCRB instead of TCR for residue"
This reverts commit 847449f23d
: ("dmaengine: rcar-dmac: use TCRB instead
of TCR for residue") as it breaks small serial console.
Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
This commit is contained in:
parent
847449f23d
commit
087ffdd288
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue