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>
Fri, 6 Jan 2012 20:10:29 +0000 (12:10 -0800)
commit4716a450eb490090b70f0d9fca8d0a6159e505ad
treef597182d109c66e557561990aecf2840a35bfa3d
parentab4ca7821fda0ddb7c86db3b9d64d48ea7dead72
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