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>
This commit is contained in:
@@ -740,7 +740,7 @@ static int dmatest_func(void *data)
|
|||||||
len, 0);
|
len, 0);
|
||||||
failed_tests++;
|
failed_tests++;
|
||||||
continue;
|
continue;
|
||||||
} else if (status != DMA_SUCCESS) {
|
} else if (status != DMA_COMPLETE) {
|
||||||
enum dmatest_error_type type = (status == DMA_ERROR) ?
|
enum dmatest_error_type type = (status == DMA_ERROR) ?
|
||||||
DMATEST_ET_DMA_ERROR : DMATEST_ET_DMA_IN_PROGRESS;
|
DMATEST_ET_DMA_ERROR : DMATEST_ET_DMA_IN_PROGRESS;
|
||||||
thread_result_add(info, result, type,
|
thread_result_add(info, result, type,
|
||||||
|
Reference in New Issue
Block a user