Commit f57da7a6 authored by Shahed Shaikh's avatar Shahed Shaikh Committed by 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: default avatarShahed Shaikh <shahed.shaikh@qlogic.com>
Signed-off-by: default avatarJitendra Kalsaria <jitendra.kalsaria@qlogic.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment