提交 f57da7a6 编写于 作者: S Shahed Shaikh 提交者: David S. Miller

qlcnic: Do not sleep while holding spinlock

This patch reverts commit a4791254
("qlcnic: change mdelay to msleep") which overwrote a commit
68b3f28c
("qlcnic: Fix scheduling while atomic bug")
Signed-off-by: NShahed Shaikh <shahed.shaikh@qlogic.com>
Signed-off-by: NJitendra Kalsaria <jitendra.kalsaria@qlogic.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 b90fc27a
......@@ -642,7 +642,7 @@ void qlcnic_fw_destroy_ctx(struct qlcnic_adapter *adapter)
qlcnic_83xx_config_intrpt(adapter, 0);
}
/* Allow dma queues to drain after context reset */
msleep(20);
mdelay(20);
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册