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 be37542 commit 2838a89Copy full SHA for 2838a89
drivers/dma/fsl-edma-main.c
@@ -631,6 +631,8 @@ static int fsl_edma_suspend_late(struct device *dev)
631
632
for (i = 0; i < fsl_edma->n_chans; i++) {
633
fsl_chan = &fsl_edma->chans[i];
634
+ if (fsl_edma->chan_masked & BIT(i))
635
+ continue;
636
spin_lock_irqsave(&fsl_chan->vchan.lock, flags);
637
/* Make sure chan is idle or will force disable. */
638
if (unlikely(!fsl_chan->idle)) {
@@ -655,6 +657,8 @@ static int fsl_edma_resume_early(struct device *dev)
655
657
656
658
659
660
661
662
fsl_chan->pm_state = RUNNING;
663
edma_write_tcdreg(fsl_chan, 0, csr);
664
if (fsl_chan->slave_id != 0)
0 commit comments