e1000e: fix S0ix flows for cable connected case
authorVitaly Lifshits <vitaly.lifshits@intel.com>
Thu, 12 Mar 2020 11:57:07 +0000 (13:57 +0200)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sun, 19 Apr 2020 18:37:00 +0000 (11:37 -0700)
commit632fbd5eb5b0e01f03f1acb90a2b9ac1352b5dc7
tree445b13dcc0bfa0ba85a253c1ae70d6dd83a6d8b6
parentc2a3f8febc69f222d9fc3248bf774c8f0c5725f3
e1000e: fix S0ix flows for cable connected case

Added a fix to S0ix entry and exit flows for TGP and above
MAC types, to the case when the Ethernet cable is connected
and the link is up. With that the system is able to reach
SLP_S0 when going to freeze power state.

Signed-off-by: Vitaly Lifshits <vitaly.lifshits@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
drivers/net/ethernet/intel/e1000e/regs.h