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

Commit cbc229a4 authored by Barry Song's avatar Barry Song Committed by Vinod Koul
Browse files

dmaengine: mv_xor: move spin_lock_bh to spin_lock in tasklet



as you are already in a tasklet, it is unnecessary to call spin_lock_bh.

Signed-off-by: default avatarBarry Song <21cnbao@gmail.com>
Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent 5b394b2d
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -348,9 +348,9 @@ static void mv_xor_tasklet(unsigned long data)
{
	struct mv_xor_chan *chan = (struct mv_xor_chan *) data;

	spin_lock_bh(&chan->lock);
	spin_lock(&chan->lock);
	mv_chan_slot_cleanup(chan);
	spin_unlock_bh(&chan->lock);
	spin_unlock(&chan->lock);
}

static struct mv_xor_desc_slot *