]> 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)
commit977593df6e2df75d9070c049dec8964011b31df1
tree41eb49c535c6e52333098d16278cdfbe32fdf98d
parent998416bf972420d9f3e8d2f2b6032721f19a5284
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