projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7fe1c85
)
MLK-11424: dmaengine: imx-sdma: slave_sg can't work after running cyclic
author
Shengjiu Wang
<shengjiu.wang@freescale.com>
Wed, 26 Aug 2015 08:54:23 +0000
(16:54 +0800)
committer
Nitin Garg
<nitin.garg@nxp.com>
Mon, 19 Mar 2018 19:48:09 +0000
(14:48 -0500)
After running asrc p2p, then asrc m2m can't work. It is caused by the
sdmac->flags isn't reset after running. then sdma_int_handler go to
wrong branch.
Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
drivers/dma/imx-sdma.c
patch
|
blob
|
history
diff --git
a/drivers/dma/imx-sdma.c
b/drivers/dma/imx-sdma.c
index
24dfcac
..
71ec6c5
100644
(file)
--- a/
drivers/dma/imx-sdma.c
+++ b/
drivers/dma/imx-sdma.c
@@
-1303,6
+1303,7
@@
static int sdma_transfer_init(struct sdma_channel *sdmac,
sdmac->buf_tail = 0;
sdmac->flags = 0;
sdmac->direction = direction;
+ sdmac->flags = 0;
ret = sdma_load_context(sdmac);
if (ret)