PCI / PM: Use SMART_SUSPEND and LEAVE_SUSPENDED flags for PCIe ports
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 3 Jan 2018 00:38:27 +0000 (01:38 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 9 Jan 2018 12:09:17 +0000 (13:09 +0100)
commit877b3729ca03b00800b99ac0c076e9456ef3ae6b
tree5635d56757907390ac0659b441d6c116632ec062
parentcf04ce7841fabc7af0d6ee273711ec29658bee7b
PCI / PM: Use SMART_SUSPEND and LEAVE_SUSPENDED flags for PCIe ports

Make the PCIe port driver set DPM_FLAG_SMART_SUSPEND and
DPM_FLAG_LEAVE_SUSPENDED for the devices handled by it to benefit
from the opportunistic optimizations in the PCI layer enabled by
these flags.

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