1
0
Fork 0
alistair23-linux/drivers/net/ethernet/intel/i40evf
Neerav Parikh f98a20068d i40e/i40evf: Use usleep_range() instead of udelay()
As per the Documentation/timers/timers-howto.txt it is preferred to use
usleep_range() instead of udelay() if the delay value is > 10us in
non-atomic contexts.
So, replacing all the instances of udelay() with 10 or greater than 10
micro seconds delay in the driver and using usleep_range() instead.

Change-ID: Iaa2ab499a4c26f6005e5d86cc421407ef9de16c7
Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Neerav Parikh <neerav.parikh@intel.com>
Tested-by: Jim Young <jamesx.m.young@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2014-10-23 20:38:03 -07:00
..
Makefile i40evf: Fix the headers and update copyright year. 2014-05-21 01:54:43 -07:00
i40e_adminq.c i40e/i40evf: add max buf len to aq debug print helper 2014-08-27 00:40:14 -07:00
i40e_adminq.h i40e/i40evf: Add nvmupdate support 2014-07-24 03:32:40 -07:00
i40e_adminq_cmd.h i40e/i40evf: Fix whitespace indentation 2014-10-23 20:38:03 -07:00
i40e_alloc.h i40evf: Fix the headers and update copyright year. 2014-05-21 01:54:43 -07:00
i40e_common.c i40e/i40evf: add max buf len to aq debug print helper 2014-08-27 00:40:14 -07:00
i40e_hmc.h i40e/i40evf: Force a shifted '1' to be unsigned 2014-07-02 19:02:19 -07:00
i40e_lan_hmc.h i40e/i40evf: Big endian fixes for handling HMC 2014-06-26 04:44:57 -07:00
i40e_osdep.h i40evf: Fix the headers and update copyright year. 2014-05-21 01:54:43 -07:00
i40e_prototype.h i40e/i40evf: add max buf len to aq debug print helper 2014-08-27 00:40:14 -07:00
i40e_register.h i40e/i40evf: i40e_register.h update 2014-06-19 20:22:02 -07:00
i40e_status.h i40evf: Fix the headers and update copyright year. 2014-05-21 01:54:43 -07:00
i40e_txrx.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2014-09-07 21:41:53 -07:00
i40e_txrx.h i40e/i40evf: Ignore a driver perceived Tx hang if the number of desc pending < 4 2014-08-27 01:11:00 -07:00
i40e_type.h i40e/i40evf: Add nvmupdate support 2014-07-24 03:32:40 -07:00
i40e_virtchnl.h i40e/i40evf: Clean up a few things 2014-06-08 02:01:26 -07:00
i40evf.h i40evf: fix crash when changing ring sizes 2014-06-05 02:13:01 -07:00
i40evf_ethtool.c i40evf: fix scan warning on sprintf 2014-08-02 19:41:14 -07:00
i40evf_main.c i40e/i40evf: Use usleep_range() instead of udelay() 2014-10-23 20:38:03 -07:00
i40evf_virtchnl.c i40evf: set flags before sending message 2014-06-30 23:46:11 -07:00