diff options
author | Carolyn Wyborny <carolyn.wyborny@intel.com> | 2014-04-10 21:46:40 -0400 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2014-04-24 20:41:15 -0400 |
commit | 0d451e79567f0c5b51004354e08c95f442491cb4 (patch) | |
tree | 715a5c452af1c1346bea5bcdab816347f1e1a47f /drivers/net/ethernet/intel/igb/e1000_phy.c | |
parent | c502ea2ea82587ad4b152dab5521869789b8ad6c (diff) |
igb: Cleanups to fix msleep warnings
This patch fixes WARNING:MSLEEP found by checkpatch check.
Signed-off-by: Carolyn Wyborny <carolyn.wyborny@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/igb/e1000_phy.c')
-rw-r--r-- | drivers/net/ethernet/intel/igb/e1000_phy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/intel/igb/e1000_phy.c b/drivers/net/ethernet/intel/igb/e1000_phy.c index 63211074e588..424f16c43759 100644 --- a/drivers/net/ethernet/intel/igb/e1000_phy.c +++ b/drivers/net/ethernet/intel/igb/e1000_phy.c | |||
@@ -2240,7 +2240,7 @@ void igb_power_down_phy_copper(struct e1000_hw *hw) | |||
2240 | hw->phy.ops.write_reg(hw, GS40G_COPPER_SPEC, power_reg); | 2240 | hw->phy.ops.write_reg(hw, GS40G_COPPER_SPEC, power_reg); |
2241 | } | 2241 | } |
2242 | hw->phy.ops.write_reg(hw, PHY_CONTROL, mii_reg); | 2242 | hw->phy.ops.write_reg(hw, PHY_CONTROL, mii_reg); |
2243 | msleep(1); | 2243 | usleep_range(1000, 2000); |
2244 | } | 2244 | } |
2245 | 2245 | ||
2246 | /** | 2246 | /** |