From: Barry Song <21cnbao@gmail.com> Date: Fri, 17 Aug 2018 13:02:02 +0000 (-0700) Subject: dmaengine: mv_xor: move spin_lock_bh to spin_lock in tasklet X-Git-Tag: v5.4-rc1~2381^2~5^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cbc229a47c82052677cac3066db7cb90aa8ffdc2;p=platform%2Fkernel%2Flinux-rpi.git 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 --- diff --git a/drivers/dma/mv_xor.c b/drivers/dma/mv_xor.c index 969534c..7f59535 100644 --- a/drivers/dma/mv_xor.c +++ b/drivers/dma/mv_xor.c @@ -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 *