summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2021-09-29 21:09:39 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2021-10-05 16:38:05 +0300
commitbf39c929f9053cd840155a1c39494c9a9946836b (patch)
treebf71bf4f1c2a938ab4acaa065b18187868f40b6f /scripts
parentf09183712146909d56c9555e6901c10cc285339f (diff)
downloadlinux-bf39c929f9053cd840155a1c39494c9a9946836b.tar.xz
PCI: PM: Rearrange pci_target_state()
Make pci_target_state() return D3cold or D0 without checking PME support if the current power state of the device is D3cold or if it does not support the standard PCI PM, respectively. Next, drop the tergat_state local variable that has become redundant from it. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Tested-by: Ferry Toth <fntoth@gmail.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions