ixgbe: Use udelay to avoid sleeping while atomic
authorMark Rustad <mark.d.rustad@intel.com>
Fri, 29 Jan 2016 22:44:29 +0000 (14:44 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 30 Mar 2016 05:37:17 +0000 (22:37 -0700)
commitd90b5b0ec1c7a3099dee9c18071a5b714eb3de52
treedbec3d53734137d0333d581a0ab67061d18c9b91
parente2873d43f9c607e9d855b8ae120d5990ba1722df
ixgbe: Use udelay to avoid sleeping while atomic

Use udelay instead of usleep_range because this can be called while
a lock is held.

Signed-off-by: Mark Rustad <mark.d.rustad@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c