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 3f134c9 commit 4c2e9baCopy full SHA for 4c2e9ba
drivers/dma/at_hdmac.c
@@ -549,6 +549,8 @@ static void atc_handle_error(struct at_dma_chan *atchan)
549
atc_dostart(atchan, desc);
550
}
551
552
+ spin_unlock_irqrestore(&atchan->lock, flags);
553
+
554
/*
555
* KERN_CRITICAL may seem harsh, but since this only happens
556
* when someone submits a bad physical address in a
@@ -564,8 +566,6 @@ static void atc_handle_error(struct at_dma_chan *atchan)
564
566
list_for_each_entry(child, &bad_desc->tx_list, desc_node)
565
567
atc_dump_lli(atchan, &child->lli);
568
- spin_unlock_irqrestore(&atchan->lock, flags);
-
569
/* Pretend the descriptor completed successfully */
570
atc_chain_complete(atchan, bad_desc);
571
0 commit comments