From: Dan Carpenter Date: Fri, 3 May 2019 13:15:07 +0000 (+0300) Subject: dmaengine: at_xdmac: remove a stray bottom half unlock X-Git-Tag: v5.2-rc1~115^2~6 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0b515abb6b7eb08e90bdfc01fc8fbdd112c15d81;p=thirdparty%2Fkernel%2Flinux.git 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 Signed-off-by: Vinod Koul --- diff --git a/drivers/dma/at_xdmac.c b/drivers/dma/at_xdmac.c index 06cbe54e4c304..e4ae2ee46d3f9 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) dev_vdbg(chan2dev(&atchan->chan), "%s: desc 0x%p\n", __func__, desc); if (!desc->active_xfer) { dev_err(chan2dev(&atchan->chan), "Xfer not active: exiting"); - spin_unlock_bh(&atchan->lock); + spin_unlock(&atchan->lock); return; }