]> git.baikalelectronics.ru Git - kernel.git/commit
igb: Exclude device from suspend direct complete optimization
authorKai-Heng Feng <kai.heng.feng@canonical.com>
Tue, 11 Dec 2018 07:59:38 +0000 (15:59 +0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 19 Mar 2019 21:23:30 +0000 (14:23 -0700)
commit9843920cdda4f46005c2e68f1af045291c0a6202
tree04418c307689fb793cb297926a3edfaffbe1658a
parent172daa0030af06595c86bfbecdc16d989902950e
igb: Exclude device from suspend direct complete optimization

igb sets different WoL settings in system suspend callback and runtime
suspend callback.

The suspend direct complete optimization leaves igb in runtime suspended
state with wrong WoL setting during system suspend.

To fix this, we need to disable suspend direct complete optimization to
let igb always use suspend callback to set correct WoL during system
suspend.

Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/igb/igb_main.c