提交 0b2ff1ff 编写于 作者: J Jeff Xie 提交者: Kalle Valo

mwl8k: move spin_lock_bh to spin_lock in tasklet

It is unnecessary to call spin_lock_bh in a tasklet.
Signed-off-by: NJeff Xie <chongguiguzi@gmail.com>
Signed-off-by: NKalle Valo <kvalo@codeaurora.org>
上级 0b68fe10
......@@ -4639,7 +4639,7 @@ static void mwl8k_tx_poll(unsigned long data)
limit = 32;
spin_lock_bh(&priv->tx_lock);
spin_lock(&priv->tx_lock);
for (i = 0; i < mwl8k_tx_queues(priv); i++)
limit -= mwl8k_txq_reclaim(hw, i, limit, 0);
......@@ -4649,7 +4649,7 @@ static void mwl8k_tx_poll(unsigned long data)
priv->tx_wait = NULL;
}
spin_unlock_bh(&priv->tx_lock);
spin_unlock(&priv->tx_lock);
if (limit) {
writel(~MWL8K_A2H_INT_TX_DONE,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册