projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a96591
)
dmaengine: imx-sdma: correct sdmac->status in sdma_handle_channel_loop()
author
Shawn Guo
<shawn.guo@freescale.com>
Wed, 19 Jan 2011 21:50:38 +0000
(
05:50
+0800)
committer
Sascha Hauer
<s.hauer@pengutronix.de>
Mon, 31 Jan 2011 11:42:12 +0000
(12:42 +0100)
sdma_handle_channel_loop() is the handler of cyclic tx. One period
success does not really mean the success of the tx. Instead of
DMA_SUCCESS, DMA_IN_PROGRESS should be the one to tell.
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
drivers/dma/imx-sdma.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/dma/imx-sdma.c
b/drivers/dma/imx-sdma.c
index f331ae0f7ec33b8dda1cb8927b2e24eb3c52c451..cf93d1737f1e99766dd7029d33eb5d2515923a96 100644
(file)
--- a/
drivers/dma/imx-sdma.c
+++ b/
drivers/dma/imx-sdma.c
@@
-449,7
+449,7
@@
static void sdma_handle_channel_loop(struct sdma_channel *sdmac)
if (bd->mode.status & BD_RROR)
sdmac->status = DMA_ERROR;
else
- sdmac->status = DMA_
SUCC
ESS;
+ sdmac->status = DMA_
IN_PROGR
ESS;
bd->mode.status |= BD_DONE;
sdmac->buf_tail++;