[PATCH 10/28] dmaengine: imx-dma: use DMA_COMPLETE for dma completion status
Vinod Koul
vinod.koul at intel.com
Wed Oct 16 12:28:28 EDT 2013
Signed-off-by: Vinod Koul <vinod.koul at intel.com>
CC: Sascha Hauer <s.hauer at pengutronix.de>
---
drivers/dma/imx-dma.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/dma/imx-dma.c b/drivers/dma/imx-dma.c
index 55852c0..2af4028 100644
--- a/drivers/dma/imx-dma.c
+++ b/drivers/dma/imx-dma.c
@@ -771,7 +771,7 @@ static int imxdma_alloc_chan_resources(struct dma_chan *chan)
desc->desc.tx_submit = imxdma_tx_submit;
/* txd.flags will be overwritten in prep funcs */
desc->desc.flags = DMA_CTRL_ACK;
- desc->status = DMA_SUCCESS;
+ desc->status = DMA_COMPLETE;
list_add_tail(&desc->node, &imxdmac->ld_free);
imxdmac->descs_allocated++;
--
1.7.0.4
More information about the linux-arm-kernel
mailing list