]> git.baikalelectronics.ru Git - kernel.git/commit
e1000e: do not resume device from RPM suspend to read PHY status registers
authorBruce Allan <bruce.w.allan@intel.com>
Sat, 29 Jun 2013 07:42:25 +0000 (07:42 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sun, 28 Jul 2013 10:52:44 +0000 (03:52 -0700)
commit96a4db78c3763137da72902b61d09c72612a025b
tree41eb49c535c6e52333098d16278cdfbe32fdf98d
parent28e0367baf521eaf30a4f1a6543032a96d9e4f0a
e1000e: do not resume device from RPM suspend to read PHY status registers

When the device is runtime suspended (e.g. when there is no link), do not
wake it from D3 to read the PHY status; just set the values to typical
power-on defaults as is done when runtime PM is not enabled and there is no
link.

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>
drivers/net/ethernet/intel/e1000e/netdev.c