]> asedeno.scripts.mit.edu Git - linux.git/commit
PCI / PM: Support for LEAVE_SUSPENDED driver flag
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sat, 18 Nov 2017 14:33:52 +0000 (15:33 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 27 Nov 2017 00:20:59 +0000 (01:20 +0100)
commitbd755d770ac78e8eeda05877ba66cc66f151e10e
tree09a5ed6cb4eec58c67d29b7293a561e4954fee80
parent0d4b54c6fee87ff60b0bc1007ca487449698468d
PCI / PM: Support for LEAVE_SUSPENDED driver flag

Add support for DPM_FLAG_LEAVE_SUSPENDED to the PCI bus type by
making it (a) set the power.may_skip_resume status bit for devices
that, from its perspective, may be left in suspend after system
wakeup from sleep and (b) return early from pci_pm_resume_noirq()
for devices whose remaining resume callbacks during the transition
under way are going to be skipped by the PM core.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
Documentation/power/pci.txt
drivers/pci/pci-driver.c