diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2019-08-02 18:47:22 -0500 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2019-11-20 17:36:11 -0600 |
commit | e43f15ea2f6d6858675fa1baa5cb624f17269af0 (patch) | |
tree | fbf750b1a356b3e00d82e511c4ffbf910d0d2a16 /tools/testing | |
parent | 9c77e63bd8dcbb3b59294e9176c00c5fcab3c9c6 (diff) | |
download | linux-e43f15ea2f6d6858675fa1baa5cb624f17269af0.tar.bz2 |
PCI/PM: Decode D3cold power state correctly
Use pci_power_name() to print pci_power_t correctly. This changes:
"state 0" or "D0" to "D0"
"state 1" or "D1" to "D1"
"state 2" or "D2" to "D2"
"state 3" or "D3" to "D3hot"
"state 4" or "D4" to "D3cold"
Changes dmesg logging only, no other functional change intended.
Link: https://lore.kernel.org/r/20190822200551.129039-3-helgaas@kernel.org
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Keith Busch <kbusch@kernel.org>
Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Diffstat (limited to 'tools/testing')
0 files changed, 0 insertions, 0 deletions