diff options
author | Carolyn Wyborny | 2013-12-14 03:26:46 -0800 |
---|---|---|
committer | David S. Miller | 2013-12-14 22:59:42 -0500 |
commit | df29df92adda751ac04ca5149d30014b5199db81 (patch) | |
tree | 38ca19e036da94e37077b07b65e533b24de809d7 /lib/halfmd4.c | |
parent | 3c325ced6aefa72d43a54e324df7562564c26f91 (diff) |
igb: Fix for issue where values could be too high for udelay function.
This patch changes the igb_phy_has_link function to check the value of the
parameter before deciding to use udelay or mdelay in order to be sure that
the value is not too high for udelay function.
CC: stable kernel <stable@vger.kernel.org> # 3.9+
Signed-off-by: Sunil K Pandey <sunil.k.pandey@intel.com>
Signed-off-by: Kevin B Smith <kevin.b.smith@intel.com>
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>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/halfmd4.c')
0 files changed, 0 insertions, 0 deletions