We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 73115d8 commit 0e53aa3Copy full SHA for 0e53aa3
drivers/dma/sh/rz-dmac.c
@@ -540,8 +540,8 @@ static int rz_dmac_terminate_all(struct dma_chan *chan)
540
spin_lock_irqsave(&channel->vc.lock, flags);
541
list_splice_tail_init(&channel->ld_active, &channel->ld_free);
542
list_splice_tail_init(&channel->ld_queue, &channel->ld_free);
543
- spin_unlock_irqrestore(&channel->vc.lock, flags);
544
vchan_get_all_descriptors(&channel->vc, &head);
+ spin_unlock_irqrestore(&channel->vc.lock, flags);
545
vchan_dma_desc_free_list(&channel->vc, &head);
546
547
return 0;
0 commit comments