Rafael J. Wysocki 234f223d63 PCI: PM: Avoid resuming devices in D3hot during system suspend
The current code resumes devices in D3hot during system suspend if
the target power state for them is D3cold, but that is not necessary
in general.  It only is necessary to do that if the platform firmware
requires the device to be resumed, but that should be covered by
the platform_pci_need_resume() check anyway, so rework
pci_dev_keep_suspended() to avoid returning 'false' for devices
in D3hot which need not be resumed due to platform firmware
requirements.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
2019-06-17 12:30:24 +02:00
..
2019-05-14 10:30:10 -07:00
2019-05-14 10:30:10 -07:00
2019-05-14 10:30:10 -07:00
2019-05-14 10:30:10 -07:00
2018-03-19 14:20:43 -05:00
2019-01-14 17:01:20 -06:00
2018-03-19 14:20:43 -05:00
2019-04-29 16:12:05 -05:00
2018-03-19 14:20:43 -05:00
2018-10-02 10:14:32 +02:00
2019-05-14 10:30:10 -07:00
2019-05-14 10:30:10 -07:00
2019-03-20 15:11:11 -05:00
2019-05-14 10:30:10 -07:00
2018-06-29 21:17:26 -05:00
2019-04-29 16:12:05 -05:00
2019-05-13 18:34:48 -05:00
2018-03-19 14:20:43 -05:00
2018-03-19 14:20:43 -05:00
2018-02-01 11:40:07 -06:00
2019-05-13 18:34:46 -05:00