diff options
author | 2025-04-21 11:25:18 +0200 | |
---|---|---|
committer | 2025-04-22 17:22:02 -0700 | |
commit | b7ed5d5a78fccee96cf8919ac2c7a064c2f4c45b (patch) | |
tree | fe88cbbf2312359c2d7123c7223bfeb427ad5bf6 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | octeontx2-af: Remove unused rvu_npc_enable_bcast_entry (diff) | |
download | wireguard-linux-b7ed5d5a78fccee96cf8919ac2c7a064c2f4c45b.tar.xz wireguard-linux-b7ed5d5a78fccee96cf8919ac2c7a064c2f4c45b.zip |
r8169: use pci_prepare_to_sleep in rtl_shutdown
Use pci_prepare_to_sleep() like PCI core does in pci_pm_suspend_noirq.
This aligns setting a low-power mode during shutdown with the handling
of the transition to system suspend. Also the transition to runtime
suspend uses pci_target_state() instead of setting D3hot unconditionally.
Note: pci_prepare_to_sleep() uses device_may_wakeup() to check whether
device may generate wakeup events. So we don't lose anything by
not passing tp->saved_wolopts any longer.
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Link: https://patch.msgid.link/f573fdbd-ba6d-41c1-b68f-311d3c88db2c@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions