[PATCH 10/28] dmaengine: imx-dma: use DMA_COMPLETE for dma completion status

From: Vinod Koul
Date: Wed Oct 16 2013 - 13:23:06 EST


Signed-off-by: Vinod Koul <vinod.koul@xxxxxxxxx>
CC: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx>
---
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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/