summaryrefslogtreecommitdiff
path: root/arch/arm/plat-mxs/dmaengine.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/plat-mxs/dmaengine.c')
-rw-r--r--arch/arm/plat-mxs/dmaengine.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/plat-mxs/dmaengine.c b/arch/arm/plat-mxs/dmaengine.c
index 453346e4057f..52330d3ea9e3 100644
--- a/arch/arm/plat-mxs/dmaengine.c
+++ b/arch/arm/plat-mxs/dmaengine.c
@@ -159,7 +159,7 @@ void mxs_dma_disable(int channel)
pchan->flags &= ~MXS_DMA_FLAGS_BUSY;
pchan->active_num = 0;
pchan->pending_num = 0;
- list_splice(&pchan->active, &pchan->done);
+ list_splice_init(&pchan->active, &pchan->done);
spin_unlock_irqrestore(&pchan->lock, flags);
mutex_unlock(&mxs_dma_mutex);
}