diff options
author | Tuomas Taipale <tuomas.taipale@nokia.com> | 2023-10-11 09:17:44 +0000 |
---|---|---|
committer | Matias Elo <matias.elo@nokia.com> | 2023-10-17 11:59:28 +0000 |
commit | 1d5603ae9ce0e7a1fa86030b25da9e88713b807c (patch) | |
tree | 410dceffaf2b275ac74c0c1004df4e6813e66ace | |
parent | 1835c2612431e9a37c1f1b189810f20b9e4b7274 (diff) |
validation: dma: fix early return with multiple async transfersgh-readonly-queue/master/pr-1927-1835c2612431e9a37c1f1b189810f20b9e4b7274
When checking results for poll-mode asynchronous transfers, check the
results of all expected transfers instead of already returning after a
single check.
Signed-off-by: Tuomas Taipale <tuomas.taipale@nokia.com>
Reviewed-by: Matias Elo <matias.elo@nokia.com>
-rw-r--r-- | test/validation/api/dma/dma.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/test/validation/api/dma/dma.c b/test/validation/api/dma/dma.c index fc15be8f2..557e1ff0a 100644 --- a/test/validation/api/dma/dma.c +++ b/test/validation/api/dma/dma.c @@ -663,9 +663,6 @@ static int do_transfer_async(odp_dma_t dma, odp_dma_transfer_param_t *trs_param, CU_ASSERT(user_data == USER_DATA); odp_dma_transfer_id_free(dma, compl_param[i].transfer_id); - - return done; - } else if (compl_mode == ODP_DMA_COMPL_EVENT) { odp_queue_t from = ODP_QUEUE_INVALID; |