mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-04 17:44:14 +08:00
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
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user