Browse Source

Merge branch 'fixes' into next

Vinod Koul 13 years ago
parent
commit
0d68ad197b
1 changed files with 2 additions and 1 deletions
  1. 2 1
      drivers/dma/pl330.c

+ 2 - 1
drivers/dma/pl330.c

@@ -2322,7 +2322,8 @@ static void pl330_tasklet(unsigned long data)
 	/* Pick up ripe tomatoes */
 	list_for_each_entry_safe(desc, _dt, &pch->work_list, node)
 		if (desc->status == DONE) {
-			dma_cookie_complete(&desc->txd);
+			if (pch->cyclic)
+				dma_cookie_complete(&desc->txd);
 			list_move_tail(&desc->node, &list);
 		}