OSDN Git Service

PCI/ACPI/PM: Avoid resuming devices that don't signal PME
authorRafael J. Wysocki <rjw@sisk.pl>
Sun, 6 Nov 2011 21:21:46 +0000 (22:21 +0100)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Mon, 5 Dec 2011 18:21:49 +0000 (10:21 -0800)
commita424948dde8421089826e2f782d0efe9e565707e
tree91eb69ddb607c9a326741ad580e88018c6184ea9
parentd90116ea38f7768dac0349f01ffbc2663d63b7e9
PCI/ACPI/PM: Avoid resuming devices that don't signal PME

Modify pci_acpi_wake_dev() to avoid resuming PME-capable devices
whose PME Status bits are not set, which may happen currently if
several devices are associated with the same wakeup GPE and all
of them are notified whenever at least one of them signals PME.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/pci-acpi.c