diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2022-05-05 20:10:43 +0200 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2022-05-05 14:19:49 -0500 |
commit | f0881d38c7eca3351f59d551604aaf74283c2e13 (patch) | |
tree | 9cfd4b7e2e057390951be910fbd9b3e48d444962 /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | 0b59193548e63957101aae5e4fc47151fce4a629 (diff) |
PCI/PM: Write 0 to PMCSR in pci_power_up() in all cases
Make pci_power_up() write 0 to the device's PCI_PM_CTRL register in
order to put it into D0 regardless of the power state returned by
the previous read from that register which should not matter.
Link: https://lore.kernel.org/r/5748066.MhkbZ0Pkbq@kreacher
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions