PCI/PM: Allow PCI devices to be put into D3cold during system suspend
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 21 Jul 2014 01:18:24 +0000 (03:18 +0200)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 2 Sep 2014 23:13:52 +0000 (17:13 -0600)
commit385321e2c65a5c4812ef64f46c248c9b8ef66b90
treed82041ae701ee071f0eed8177e8d6e8a8f2f2ee5
parentfe9a743a2601c846279e8dbbb382d5a9b6b900ff
PCI/PM: Allow PCI devices to be put into D3cold during system suspend

Commit 448bd857d48e ("PCI/PM: add PCIe runtime D3cold support") added a
check to prevent PCI devices from being put into D3cold during system
suspend without giving any particular reason.

Also the check isn't really necessary, because acpi_pci_set_power_state()
maps PCI_D3hot to ACPI_STATE_D3_COLD anyway.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/pci.c