|
@@ -790,12 +790,12 @@ static int atc_control(struct dma_chan *chan, enum dma_ctrl_cmd cmd,
|
|
list_splice_init(&atchan->queue, &list);
|
|
list_splice_init(&atchan->queue, &list);
|
|
list_splice_init(&atchan->active_list, &list);
|
|
list_splice_init(&atchan->active_list, &list);
|
|
|
|
|
|
- spin_unlock_bh(&atchan->lock);
|
|
|
|
-
|
|
|
|
/* Flush all pending and queued descriptors */
|
|
/* Flush all pending and queued descriptors */
|
|
list_for_each_entry_safe(desc, _desc, &list, desc_node)
|
|
list_for_each_entry_safe(desc, _desc, &list, desc_node)
|
|
atc_chain_complete(atchan, desc);
|
|
atc_chain_complete(atchan, desc);
|
|
|
|
|
|
|
|
+ spin_unlock_bh(&atchan->lock);
|
|
|
|
+
|
|
return 0;
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
|