aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/dma/pl330.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/dma/pl330.c')
-rw-r--r--drivers/dma/pl330.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/dma/pl330.c b/drivers/dma/pl330.c
index a17553f7c028..7ec82f0667eb 100644
--- a/drivers/dma/pl330.c
+++ b/drivers/dma/pl330.c
@@ -2485,10 +2485,10 @@ static void pl330_free_chan_resources(struct dma_chan *chan)
2485 struct dma_pl330_chan *pch = to_pchan(chan); 2485 struct dma_pl330_chan *pch = to_pchan(chan);
2486 unsigned long flags; 2486 unsigned long flags;
2487 2487
2488 spin_lock_irqsave(&pch->lock, flags);
2489
2490 tasklet_kill(&pch->task); 2488 tasklet_kill(&pch->task);
2491 2489
2490 spin_lock_irqsave(&pch->lock, flags);
2491
2492 pl330_release_channel(pch->pl330_chid); 2492 pl330_release_channel(pch->pl330_chid);
2493 pch->pl330_chid = NULL; 2493 pch->pl330_chid = NULL;
2494 2494