]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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>
Tue, 6 Dec 2011 17:26:04 +0000 (09:26 -0800)
commite63db26ff89bdc6f2518f5bbc2afcc7410268ffd
treec902a41d4d3158cd752a8b1cac2495a65d687554
parent71c50ab7a32968b73b533dd27620eef563ace6b7
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