Mika Westerberg 43f7f88b93 PCI: Don't clear d3cold_allowed for PCIe ports
The PCI core skips bridges and ports when the system is suspended.  The PCI
core checks return value of pci_has_subordinate() in pci_pm_suspend_noirq()
to skip all devices where it is non-zero (which means PCI bridges and PCIe
ports).

Since PCIe ports are never suspended in the first place, there is no need
to set d3cold_allowed for them.

Tested-by: Lukas Wunner <lukas@wunner.de>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2016-06-13 14:51:34 -05:00
..
2016-05-20 10:12:41 -07:00
2015-08-13 15:59:59 -05:00
2016-03-19 15:38:41 -07:00
2016-01-21 11:52:16 -08:00
2014-06-10 20:20:19 -06:00
2014-06-10 20:20:19 -06:00
2016-03-15 08:56:28 -05:00
2014-06-10 20:20:19 -06:00