Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0b515abb authored by Dan Carpenter's avatar Dan Carpenter Committed by Vinod Koul
Browse files

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: d8570d01 ("dmaengine: at_xdmac: move spin_lock_bh to spin_lock in tasklet")
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent e095189a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
		}