diff options
author | Vinod Koul <vinod.koul@intel.com> | 2013-10-16 14:06:24 +0530 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2013-10-25 11:16:02 +0530 |
commit | 3ded1ad14fe5cdb190e9b30a95a859d21ebd9e65 (patch) | |
tree | b86e96fa471ee70b09d1d2b26a630e790edc767e /drivers | |
parent | 9d386ec590a9455733d6fad3e4d1a4b2babc490c (diff) | |
download | linux-3ded1ad14fe5cdb190e9b30a95a859d21ebd9e65.tar.bz2 |
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.c | 2 |
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) 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++; |