aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/dma
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/dma')
-rw-r--r--drivers/dma/dmaengine.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/dma/dmaengine.c b/drivers/dma/dmaengine.c
index 403dbe781122..6df144a65fef 100644
--- a/drivers/dma/dmaengine.c
+++ b/drivers/dma/dmaengine.c
@@ -961,6 +961,8 @@ void dma_run_dependencies(struct dma_async_tx_descriptor *tx)
961 if (!dep) 961 if (!dep)
962 return; 962 return;
963 963
964 /* we'll submit tx->next now, so clear the link */
965 tx->next = NULL;
964 chan = dep->chan; 966 chan = dep->chan;
965 967
966 /* keep submitting up until a channel switch is detected 968 /* keep submitting up until a channel switch is detected