From: Bruce Allan Date: Sat, 19 Mar 2011 00:27:20 +0000 (+0000) Subject: e1000e: convert short duration msleep() to usleep_range() X-Git-Tag: v3.0-rc1~377^2~422 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1bba4386ab4f67a53c9649268dd9c83bc6110a9b;p=pandora-kernel.git 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 Tested-by: Aaron Brown Signed-off-by: Jeff Kirsher --- Reading git-diff-tree failed