Rafael J. Wysocki bf39c929f9 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>
2021-10-05 15:38:05 +02:00
..
2021-09-08 16:33:21 -07:00
2021-09-07 19:13:42 -07:00
2021-09-02 14:56:42 -05:00
2021-09-07 19:13:42 -07:00
2020-08-05 18:24:16 -05:00
2021-06-16 17:20:40 -05:00
2021-07-06 10:56:26 -05:00
2020-07-29 14:25:18 -05:00
2021-07-06 10:56:25 -05:00
2021-09-02 13:41:33 -07:00
2021-09-07 19:13:42 -07:00
2021-10-05 15:38:05 +02:00
2021-10-05 15:25:06 +02:00
2021-09-07 19:13:42 -07:00
2021-02-10 16:46:29 -06:00
2020-08-05 18:23:14 -05:00