aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/dma/iop-adma.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/dma/iop-adma.c b/drivers/dma/iop-adma.c
index ce45f3fb0343..9c752bd295e1 100644
--- a/drivers/dma/iop-adma.c
+++ b/drivers/dma/iop-adma.c
@@ -288,7 +288,12 @@ static void iop_adma_tasklet(unsigned long data)
288{ 288{
289 struct iop_adma_chan *iop_chan = (struct iop_adma_chan *) data; 289 struct iop_adma_chan *iop_chan = (struct iop_adma_chan *) data;
290 290
291 spin_lock(&iop_chan->lock); 291 /* lockdep will flag depedency submissions as potentially
292 * recursive locking, this is not the case as a dependency
293 * submission will never recurse a channels submit routine.
294 * There are checks in async_tx.c to prevent this.
295 */
296 spin_lock_nested(&iop_chan->lock, SINGLE_DEPTH_NESTING);
292 __iop_adma_slot_cleanup(iop_chan); 297 __iop_adma_slot_cleanup(iop_chan);
293 spin_unlock(&iop_chan->lock); 298 spin_unlock(&iop_chan->lock);
294} 299}