summaryrefslogtreecommitdiffstats
path: root/drivers/platform/x86/Makefile
diff options
context:
space:
mode:
authorRafael J. Wysocki2017-06-12 22:53:36 +0200
committerRafael J. Wysocki2017-06-15 00:55:44 +0200
commitdc15e71eefc766373833602c353cf6b4f49da036 (patch)
treea9827178b9843f4a7306173545cd1ac60995e464 /drivers/platform/x86/Makefile
parentPM / sleep: Print timing information if debug is enabled (diff)
downloadkernel-qcow2-linux-dc15e71eefc766373833602c353cf6b4f49da036.tar.gz
kernel-qcow2-linux-dc15e71eefc766373833602c353cf6b4f49da036.tar.xz
kernel-qcow2-linux-dc15e71eefc766373833602c353cf6b4f49da036.zip
PCI / PM: Restore PME Enable if skipping wakeup setup
The wakeup_prepared PCI device flag is used for preventing subsequent changes of PCI device wakeup settings in the same way (e.g. enabling device wakeup twice in a row). However, in some cases PME Enable may be updated by things like PCI configuration space restoration in the meantime and it may need to be set again even though the rest of the settings need not change, so modify __pci_enable_wake() to do that when it is about to return early. Also, it is reasonable to expect that __pci_enable_wake() will always clear PME Status when invoked to disable device wakeup, so make it do so even if it is going to return early then. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Acked-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/platform/x86/Makefile')
0 files changed, 0 insertions, 0 deletions