summaryrefslogtreecommitdiffstats
path: root/drivers/dma/dmatest.c
diff options
context:
space:
mode:
authorVinod Koul <vinod.koul@intel.com>2013-10-16 10:07:27 +0200
committerVinod Koul <vinod.koul@intel.com>2013-10-25 07:45:59 +0200
commit19e9f99f273bdefef8c88465933907e242a40d66 (patch)
treee397b604df2fab1c4dc403a2bafc8d34e1911a4f /drivers/dma/dmatest.c
parentdmaengine: jz4740: use DMA_COMPLETE for dma completion status (diff)
downloadlinux-19e9f99f273bdefef8c88465933907e242a40d66.tar.xz
linux-19e9f99f273bdefef8c88465933907e242a40d66.zip
dmaengine: dmatest: 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/dma/dmatest.c')
-rw-r--r--drivers/dma/dmatest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/dmatest.c b/drivers/dma/dmatest.c
index 92f796cdc6ab..59e287f56dfc 100644
--- a/drivers/dma/dmatest.c
+++ b/drivers/dma/dmatest.c
@@ -740,7 +740,7 @@ static int dmatest_func(void *data)
len, 0);
failed_tests++;
continue;
- } else if (status != DMA_SUCCESS) {
+ } else if (status != DMA_COMPLETE) {
enum dmatest_error_type type = (status == DMA_ERROR) ?
DMATEST_ET_DMA_ERROR : DMATEST_ET_DMA_IN_PROGRESS;
thread_result_add(info, result, type,