summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorVinod Koul <vinod.koul@intel.com>2013-10-16 04:36:24 -0400
committerVinod Koul <vinod.koul@intel.com>2013-10-25 01:46:02 -0400
commit3ded1ad14fe5cdb190e9b30a95a859d21ebd9e65 (patch)
treeb86e96fa471ee70b09d1d2b26a630e790edc767e /drivers
parent9d386ec590a9455733d6fad3e4d1a4b2babc490c (diff)
dmaengine: imx-dma: use DMA_COMPLETE for dma completion status
Acked-by: Dan Williams <dan.j.williams@intel.com> Acked-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/dma/imx-dma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/imx-dma.c b/drivers/dma/imx-dma.c
index 55852c026791..2af4028cc23e 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)
771 desc->desc.tx_submit = imxdma_tx_submit; 771 desc->desc.tx_submit = imxdma_tx_submit;
772 /* txd.flags will be overwritten in prep funcs */ 772 /* txd.flags will be overwritten in prep funcs */
773 desc->desc.flags = DMA_CTRL_ACK; 773 desc->desc.flags = DMA_CTRL_ACK;
774 desc->status = DMA_SUCCESS; 774 desc->status = DMA_COMPLETE;
775 775
776 list_add_tail(&desc->node, &imxdmac->ld_free); 776 list_add_tail(&desc->node, &imxdmac->ld_free);
777 imxdmac->descs_allocated++; 777 imxdmac->descs_allocated++;