projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
847449f
)
dmaengine: Revert "rcar-dmac: use TCRB instead of TCR for residue"
author
Vinod Koul
<vinod.koul@intel.com>
Wed, 8 Nov 2017 05:31:45 +0000
(11:01 +0530)
committer
Vinod Koul
<vinod.koul@intel.com>
Wed, 8 Nov 2017 05:34:49 +0000
(11:04 +0530)
This reverts commit
847449f23dcb
: ("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>
drivers/dma/sh/rcar-dmac.c
patch
|
blob
|
history
diff --git
a/drivers/dma/sh/rcar-dmac.c
b/drivers/dma/sh/rcar-dmac.c
index
50c4950
..
2b2c7db
100644
(file)
--- a/
drivers/dma/sh/rcar-dmac.c
+++ b/
drivers/dma/sh/rcar-dmac.c
@@
-1310,7
+1310,7
@@
static unsigned int rcar_dmac_chan_get_residue(struct rcar_dmac_chan *chan,
}
/* Add the residue for the current chunk. */
- residue += rcar_dmac_chan_read(chan, RCAR_DMATCR
B
) << desc->xfer_shift;
+ residue += rcar_dmac_chan_read(chan, RCAR_DMATCR) << desc->xfer_shift;
return residue;
}