Vaibhav Gupta
69a74aef8a
e100: use generic power management
...
With legacy PM hooks, it was the responsibility of a driver to manage PCI
states and also the device's power state. The generic approach is to let
PCI core handle the work.
e100_suspend() calls __e100_shutdown() to perform intermediate tasks.
__e100_shutdown() calls pci_save_state() which is not recommended.
e100_suspend() also calls __e100_power_off() which is calling PCI helper
functions, pci_prepare_to_sleep(), pci_set_power_state(), along with
pci_wake_from_d3(...,false). Hence, the functin call is removed and wol is
disabled as earlier using device_wakeup_disable().
Compile-tested only.
Signed-off-by: Vaibhav Gupta <vaibhavgupta40@gmail.com >
Tested-by: Aaron Brown <aaron.f.brown@intel.com >
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com >
2020-07-30 10:50:55 -07:00
..
2020-07-01 12:58:33 -07:00
2020-07-17 19:04:06 -07:00
2020-07-01 12:58:33 -07:00
2020-07-07 15:44:27 -07:00
2020-07-17 18:48:15 -07:00
2020-06-14 01:57:21 +09:00
2020-06-14 01:57:21 +09:00
2020-07-17 12:57:59 -07:00
2020-06-14 01:57:21 +09:00
2020-07-21 15:59:04 -07:00
2020-07-14 17:04:27 -07:00
2020-02-24 11:24:47 -08:00
2020-06-14 01:57:21 +09:00
2020-07-25 17:49:04 -07:00
2020-06-28 20:52:53 -07:00
2020-07-20 18:37:38 -07:00
2020-06-28 20:52:53 -07:00
2020-07-27 11:47:33 -07:00
2020-07-22 18:12:11 -07:00
2020-07-25 17:49:04 -07:00
2020-07-14 17:04:27 -07:00
2020-07-25 17:49:04 -07:00
2020-06-26 16:08:44 -07:00
2020-07-14 17:04:27 -07:00
2020-07-13 17:42:45 -07:00
2020-06-14 01:57:21 +09:00
2020-06-26 16:08:44 -07:00
2020-07-15 17:41:34 -07:00
2020-07-14 17:04:27 -07:00
2020-06-14 01:57:21 +09:00
2020-06-14 01:57:21 +09:00
2020-07-25 17:49:04 -07:00
2020-06-14 01:57:21 +09:00
2020-01-09 12:13:43 -08:00
2020-07-25 17:49:04 -07:00
2020-07-28 17:22:03 -07:00
2020-06-14 01:57:21 +09:00
2020-06-20 17:28:41 -07:00
2020-07-30 10:50:55 -07:00
2020-07-29 12:17:24 -07:00
2020-06-30 15:57:34 -07:00
2020-07-28 13:28:02 -07:00
2020-07-14 15:10:29 -07:00
2020-07-22 17:55:35 -07:00
2020-06-14 01:57:21 +09:00
2020-07-22 13:02:09 -07:00
2020-07-20 18:01:07 -07:00
2020-07-01 12:58:33 -07:00
2020-07-25 17:49:04 -07:00
2020-07-14 17:04:27 -07:00
2020-05-05 11:39:43 -07:00
2020-06-14 01:57:21 +09:00
2020-05-05 11:17:56 -07:00
2020-06-28 20:52:53 -07:00
2020-07-20 17:48:23 -07:00
2020-06-14 01:57:21 +09:00
2020-07-25 17:49:04 -07:00
2020-07-27 12:17:14 -07:00
2020-07-04 18:04:55 -07:00
2020-07-20 17:49:50 -07:00
2020-07-21 16:12:19 -07:00
2020-07-21 15:34:07 -07:00
2020-06-15 13:37:36 -07:00
2020-06-14 01:57:21 +09:00
2020-06-14 01:57:21 +09:00
2020-07-27 12:26:56 -07:00
2020-06-14 01:57:21 +09:00
2020-06-14 01:57:21 +09:00
2020-07-20 17:50:07 -07:00
2020-07-25 17:49:04 -07:00
2020-07-21 18:31:46 -07:00
2020-07-28 17:48:20 -07:00
2020-07-17 12:56:40 -07:00
2020-06-28 20:52:53 -07:00
2020-06-14 01:57:21 +09:00
2020-07-25 17:49:04 -07:00
2020-06-14 01:57:21 +09:00
2020-06-14 01:57:21 +09:00
2020-06-14 01:57:21 +09:00
2020-06-14 01:57:21 +09:00
2020-06-15 13:02:03 -07:00
2020-06-23 20:18:16 -07:00
2020-06-14 01:57:21 +09:00
2020-04-20 12:18:13 -07:00
2020-03-03 17:54:55 -08:00
2020-01-28 16:02:33 -08:00
2020-07-20 18:32:49 -07:00
2020-07-13 17:45:04 -07:00
2020-07-13 17:45:04 -07:00
2020-06-14 01:57:21 +09:00
2020-06-09 09:39:13 -07:00
2020-01-28 16:02:33 -08:00
2020-05-06 14:24:06 -07:00