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)
commit97390ab86b2bcc53c124a1541c86ea0eba1a051f
tree41eb49c535c6e52333098d16278cdfbe32fdf98d
parent91a3d82f380abe24e95a6d3981c06f13894eb2ce
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