Commit 2a437cd3 authored by Bruce Allan's avatar Bruce Allan Committed by Linus Torvalds
Browse files

e1000e: fix scheduling while atomic bug

A scheduling while atomic bug was introduced recently (by commit

: "e1000e: cleanup USLEEP_RANGE checkpatch checks").

Revert the particular instance of usleep_range() which causes the bug.
Reported-by: default avatarMaarten Lankhorst <>
Signed-off-by: default avatarBruce Allan <>
Signed-off-by: default avatarJeff Kirsher <>
Acked-by: default avatarDavid S. Miller <>
Signed-off-by: default avatarLinus Torvalds <>
parent 51a26ae7
......@@ -600,7 +600,7 @@ static inline s32 __ew32_prepare(struct e1000_hw *hw)
while ((er32(FWSM) & E1000_ICH_FWSM_PCIM2PCI) && --i)
usleep_range(50, 100);
return i;
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