aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorVaibhav Gupta <[email protected]>2020-06-22 17:12:24 +0530
committerDavid S. Miller <[email protected]>2020-06-23 20:33:15 -0700
commitf906d0f9cd43adfce79a84fa0d48702ea7b887d3 (patch)
tree28c05a818361254a2dd498fc90656f5712dede80 /tools/perf/scripts/python
parent39ea5d7014ddd7f1337ad6c0bfc1b866e2f8817b (diff)
tulip: dmfe: 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 the PCI core handle the work. The legacy suspend() and resume() were making use of pci_read/write_config_dword() to enable/disable wol. Driver editing configuration registers of a device is not recommended. Thus replace them all with device_wakeup_enable/disable(). Compile-tested only. Signed-off-by: Vaibhav Gupta <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions