From: Vinod Koul Date: Wed, 16 Oct 2013 08:07:27 +0000 (+0530) Subject: dmaengine: dmatest: use DMA_COMPLETE for dma completion status X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=19e9f99f273bdefef8c88465933907e242a40d66;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git dmaengine: dmatest: use DMA_COMPLETE for dma completion status Acked-by: Dan Williams Acked-by: Linus Walleij Signed-off-by: Vinod Koul --- 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,