diff options
author | Vinod Koul <vinod.koul@intel.com> | 2013-10-16 10:07:27 +0200 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2013-10-25 07:45:59 +0200 |
commit | 19e9f99f273bdefef8c88465933907e242a40d66 (patch) | |
tree | e397b604df2fab1c4dc403a2bafc8d34e1911a4f /drivers/dma/dmatest.c | |
parent | dmaengine: jz4740: use DMA_COMPLETE for dma completion status (diff) | |
download | linux-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.c | 2 |
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, |