aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/dma/at_hdmac.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/dma/at_hdmac.c b/drivers/dma/at_hdmac.c
index 3938db210834..40f2bf4ae474 100644
--- a/drivers/dma/at_hdmac.c
+++ b/drivers/dma/at_hdmac.c
@@ -853,11 +853,11 @@ static void atc_issue_pending(struct dma_chan *chan)
853 853
854 dev_vdbg(chan2dev(chan), "issue_pending\n"); 854 dev_vdbg(chan2dev(chan), "issue_pending\n");
855 855
856 spin_lock_bh(&atchan->lock);
856 if (!atc_chan_is_enabled(atchan)) { 857 if (!atc_chan_is_enabled(atchan)) {
857 spin_lock_bh(&atchan->lock);
858 atc_advance_work(atchan); 858 atc_advance_work(atchan);
859 spin_unlock_bh(&atchan->lock);
860 } 859 }
860 spin_unlock_bh(&atchan->lock);
861} 861}
862 862
863/** 863/**