diff options
author | Vinod Koul <vinod.koul@intel.com> | 2013-10-16 13:37:27 +0530 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2013-10-25 11:15:59 +0530 |
commit | 19e9f99f273bdefef8c88465933907e242a40d66 (patch) | |
tree | e397b604df2fab1c4dc403a2bafc8d34e1911a4f /drivers/dma/dmatest.c | |
parent | a605c48babb53067b26dae166937763943bf74d7 (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>
Diffstat (limited to 'drivers/dma/dmatest.c')
-rw-r--r-- | drivers/dma/dmatest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/dmatest.c b/drivers/dma/dmatest.c index 92f796cdc6a..59e287f56df 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, |