diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2019-05-03 09:15:07 -0400 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2019-05-04 06:41:02 -0400 |
commit | 0b515abb6b7eb08e90bdfc01fc8fbdd112c15d81 (patch) | |
tree | 30da3371a404f49731fb1bc3e4bc6578192f80b0 | |
parent | e095189a54102d53daa07c528fefd4f4d65c8b04 (diff) |
dmaengine: at_xdmac: remove a stray bottom half unlock
We switched this code from spin_lock_bh() to vanilla spin_lock() but
there was one stray spin_unlock_bh() that was overlooked. This
patch converts it to spin_unlock() as well.
Fixes: d8570d018f69 ("dmaengine: at_xdmac: move spin_lock_bh to spin_lock in tasklet")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
-rw-r--r-- | drivers/dma/at_xdmac.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/at_xdmac.c b/drivers/dma/at_xdmac.c index 06cbe54e4c30..e4ae2ee46d3f 100644 --- a/drivers/dma/at_xdmac.c +++ b/drivers/dma/at_xdmac.c | |||
@@ -1655,7 +1655,7 @@ static void at_xdmac_tasklet(unsigned long data) | |||
1655 | dev_vdbg(chan2dev(&atchan->chan), "%s: desc 0x%p\n", __func__, desc); | 1655 | dev_vdbg(chan2dev(&atchan->chan), "%s: desc 0x%p\n", __func__, desc); |
1656 | if (!desc->active_xfer) { | 1656 | if (!desc->active_xfer) { |
1657 | dev_err(chan2dev(&atchan->chan), "Xfer not active: exiting"); | 1657 | dev_err(chan2dev(&atchan->chan), "Xfer not active: exiting"); |
1658 | spin_unlock_bh(&atchan->lock); | 1658 | spin_unlock(&atchan->lock); |
1659 | return; | 1659 | return; |
1660 | } | 1660 | } |
1661 | 1661 | ||