Message ID | 1381940926-25564-8-git-send-email-vinod.koul@intel.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/drivers/dma/dmatest.c b/drivers/dma/dmatest.c index 92f796c..59e287f 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,
Signed-off-by: Vinod Koul <vinod.koul@intel.com> --- drivers/dma/dmatest.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)