diff options
Diffstat (limited to 'drivers/dma/dw_dmac.c')
-rw-r--r-- | drivers/dma/dw_dmac.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/dma/dw_dmac.c b/drivers/dma/dw_dmac.c index 942b50f57f21..2b0d5e99ae71 100644 --- a/drivers/dma/dw_dmac.c +++ b/drivers/dma/dw_dmac.c | |||
@@ -836,7 +836,9 @@ dwc_tx_status(struct dma_chan *chan, | |||
836 | 836 | ||
837 | ret = dma_async_is_complete(cookie, last_complete, last_used); | 837 | ret = dma_async_is_complete(cookie, last_complete, last_used); |
838 | if (ret != DMA_SUCCESS) { | 838 | if (ret != DMA_SUCCESS) { |
839 | spin_lock_bh(&dwc->lock); | ||
839 | dwc_scan_descriptors(to_dw_dma(chan->device), dwc); | 840 | dwc_scan_descriptors(to_dw_dma(chan->device), dwc); |
841 | spin_unlock_bh(&dwc->lock); | ||
840 | 842 | ||
841 | last_complete = dwc->completed; | 843 | last_complete = dwc->completed; |
842 | last_used = chan->cookie; | 844 | last_used = chan->cookie; |