diff options
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) | |||
740 | len, 0); | 740 | len, 0); |
741 | failed_tests++; | 741 | failed_tests++; |
742 | continue; | 742 | continue; |
743 | } else if (status != DMA_SUCCESS) { | 743 | } else if (status != DMA_COMPLETE) { |
744 | enum dmatest_error_type type = (status == DMA_ERROR) ? | 744 | enum dmatest_error_type type = (status == DMA_ERROR) ? |
745 | DMATEST_ET_DMA_ERROR : DMATEST_ET_DMA_IN_PROGRESS; | 745 | DMATEST_ET_DMA_ERROR : DMATEST_ET_DMA_IN_PROGRESS; |
746 | thread_result_add(info, result, type, | 746 | thread_result_add(info, result, type, |