aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVinod Koul <vinod.koul@intel.com>2013-10-16 04:07:27 -0400
committerVinod Koul <vinod.koul@intel.com>2013-10-25 01:45:59 -0400
commit19e9f99f273bdefef8c88465933907e242a40d66 (patch)
treee397b604df2fab1c4dc403a2bafc8d34e1911a4f
parenta605c48babb53067b26dae166937763943bf74d7 (diff)
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>
-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)
740 len, 0); 740 len, 0);
741 failed_tests++; 741 failed_tests++;
742 continue; 742 continue;
743 } else if (status != DMA_SUCCESS) { 743 } else if (status != DMA_COMPLETE) {
744 enum dmatest_error_type type = (status == DMA_ERROR) ? 744 enum dmatest_error_type type = (status == DMA_ERROR) ?
745 DMATEST_ET_DMA_ERROR : DMATEST_ET_DMA_IN_PROGRESS; 745 DMATEST_ET_DMA_ERROR : DMATEST_ET_DMA_IN_PROGRESS;
746 thread_result_add(info, result, type, 746 thread_result_add(info, result, type,