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:
parent
a605c48bab
commit
19e9f99f27
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue