diff options
-rw-r--r-- | drivers/dma/pl330.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/pl330.c b/drivers/dma/pl330.c index cbcc28e79be6..6d550421da7a 100644 --- a/drivers/dma/pl330.c +++ b/drivers/dma/pl330.c | |||
@@ -2321,7 +2321,7 @@ static void pl330_tasklet(unsigned long data) | |||
2321 | /* Pick up ripe tomatoes */ | 2321 | /* Pick up ripe tomatoes */ |
2322 | list_for_each_entry_safe(desc, _dt, &pch->work_list, node) | 2322 | list_for_each_entry_safe(desc, _dt, &pch->work_list, node) |
2323 | if (desc->status == DONE) { | 2323 | if (desc->status == DONE) { |
2324 | if (pch->cyclic) | 2324 | if (!pch->cyclic) |
2325 | dma_cookie_complete(&desc->txd); | 2325 | dma_cookie_complete(&desc->txd); |
2326 | list_move_tail(&desc->node, &list); | 2326 | list_move_tail(&desc->node, &list); |
2327 | } | 2327 | } |