projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dba0eea
)
MLK-14482-1: dma: imx-sdma: fix memory_2_memory copy failed
author
Robin Gong
<yibin.gong@nxp.com>
Fri, 17 Mar 2017 03:44:31 +0000
(11:44 +0800)
committer
Nitin Garg
<nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:21:37 +0000
(15:21 -0500)
emi_2_emi have to be set in memory_2_memory case, code miss during
rebase, fix up it now.
Signed-off-by: Robin Gong <yibin.gong@nxp.com>
drivers/dma/imx-sdma.c
patch
|
blob
|
history
diff --git
a/drivers/dma/imx-sdma.c
b/drivers/dma/imx-sdma.c
index
6a86e6d
..
4078ac5
100644
(file)
--- a/
drivers/dma/imx-sdma.c
+++ b/
drivers/dma/imx-sdma.c
@@
-858,6
+858,7
@@
static void sdma_get_pc(struct sdma_channel *sdmac,
switch (peripheral_type) {
case IMX_DMATYPE_MEMORY:
+ emi_2_emi = sdma->script_addrs->ap_2_ap_addr;
break;
case IMX_DMATYPE_DSP:
emi_2_per = sdma->script_addrs->bp_2_ap_addr;