mirror of
https://github.com/torvalds/linux.git
synced 2026-05-26 08:02:27 +02:00
qlcnic: Do not sleep while holding spinlock
This patch reverts commita4791254b6("qlcnic: change mdelay to msleep") which overwrote a commit68b3f28c11("qlcnic: Fix scheduling while atomic bug") Signed-off-by: Shahed Shaikh <shahed.shaikh@qlogic.com> Signed-off-by: Jitendra Kalsaria <jitendra.kalsaria@qlogic.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
b90fc27a64
commit
f57da7a65b
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user