[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1381940926-25564-21-git-send-email-vinod.koul@intel.com>
Date: Wed, 16 Oct 2013 21:58:38 +0530
From: Vinod Koul <vinod.koul@...el.com>
To: dan.j.williams@...el.com, linux-kernel@...r.kernel.org
Cc: linux-arm-kernel@...ts.infradead.org, g.liakhovetski@....de,
linux@....linux.org.uk, Vinod Koul <vinod.koul@...el.com>,
Anatolij Gustschin <agust@...x.de>
Subject: [PATCH 20/28] dmaengine: ppc4xx: use DMA_COMPLETE for dma completion status
Signed-off-by: Vinod Koul <vinod.koul@...el.com>
CC: Anatolij Gustschin <agust@...x.de>
---
drivers/dma/ppc4xx/adma.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/dma/ppc4xx/adma.c b/drivers/dma/ppc4xx/adma.c
index 370ff82..60e02ae 100644
--- a/drivers/dma/ppc4xx/adma.c
+++ b/drivers/dma/ppc4xx/adma.c
@@ -3891,7 +3891,7 @@ static enum dma_status ppc440spe_adma_tx_status(struct dma_chan *chan,
ppc440spe_chan = to_ppc440spe_adma_chan(chan);
ret = dma_cookie_status(chan, cookie, txstate);
- if (ret == DMA_SUCCESS)
+ if (ret == DMA_COMPLETE)
return ret;
ppc440spe_adma_slot_cleanup(ppc440spe_chan);
--
1.7.0.4
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists