linux/drivers/net/e1000e
Bruce Allan 1bba4386ab e1000e: convert short duration msleep() to usleep_range()
With durations less than 20ms, the jiffies or legacy timer backed msleep()
may sleep ~20ms which might not be what the caller expects.  Instead, it
is recommended to use the hrtimers backed usleep_range().  For more, see
Documentation/timers/timers-howto.txt.  Issues reported by checkpatch.

In addition, remove unnecessary sleep in e1000e_write_nvm_spi().

Signed-off-by: Bruce Allan <bruce.w.allan@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2011-04-13 19:17:06 -07:00
..
82571.c e1000e: convert short duration msleep() to usleep_range() 2011-04-13 19:17:06 -07:00
defines.h e1000e: disable jumbo frames on 82579 when MACsec enabled in EEPROM 2011-03-11 02:23:21 -08:00
e1000.h e1000e: convert to stats64 2011-01-24 00:13:37 -08:00
es2lan.c e1000e: convert short duration msleep() to usleep_range() 2011-04-13 19:17:06 -07:00
ethtool.c e1000e: convert short duration msleep() to usleep_range() 2011-04-13 19:17:06 -07:00
hw.h e1000e: magic number cleanup - ETH_ALEN 2011-03-11 01:52:40 -08:00
ich8lan.c e1000e: convert short duration msleep() to usleep_range() 2011-04-13 19:17:06 -07:00
lib.c e1000e: convert short duration msleep() to usleep_range() 2011-04-13 19:17:06 -07:00
Makefile e1000e: update Copyright for 2011 2011-01-14 02:04:01 -08:00
netdev.c e1000e: convert short duration msleep() to usleep_range() 2011-04-13 19:17:06 -07:00
param.c e1000e: consistent use of Rx/Tx vs. RX/TX/rx/tx in comments/logs 2011-01-14 02:06:23 -08:00
phy.c e1000e: convert short duration msleep() to usleep_range() 2011-04-13 19:17:06 -07:00