1
0
Fork 0

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: Barry Song <21cnbao@gmail.com>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
hifive-unleashed-5.1
Barry Song 2018-08-17 06:02:02 -07:00 committed by Vinod Koul
parent 5b394b2ddf
commit cbc229a47c
1 changed files with 2 additions and 2 deletions

View File

@ -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 *