diff options
author | 2013-04-10 10:32:51 +0000 | |
---|---|---|
committer | 2013-04-15 14:15:44 -0600 | |
commit | ffaddbe8f925a4f41eecb31e7fe69a9bdb6e2e59 (patch) | |
tree | 0ed3a91e7ffc698748a8326894ea250d027f8fff /tools/perf/scripts/python/export-to-postgresql.py | |
parent | PCI/PM: Fix fallback to PCI_D0 in pci_platform_power_transition() (diff) | |
download | linux-dev-ffaddbe8f925a4f41eecb31e7fe69a9bdb6e2e59.tar.xz linux-dev-ffaddbe8f925a4f41eecb31e7fe69a9bdb6e2e59.zip |
PCI/PM: Make pci_pme_active() ignore devices without PME support
Make pci_pme_active() ignore devices without PME support, so that
it doesn't print the "PME enabled" or "PME disabled" debug messages
for devices that don't support PME.
So that pci_pme_active() doesn't have to check pm_cap in addition
to pme_support, make pci_pm_init() clear pme_support upfront to
make sure that it will be 0 for pm_cap equal to 0.
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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions