PCI/PM: Propagate wake-up enable for PCIe devices too
authorRafael J. Wysocki <rjw@sisk.pl>
Sun, 29 Nov 2009 15:35:54 +0000 (16:35 +0100)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Wed, 16 Dec 2009 21:37:49 +0000 (13:37 -0800)
commitdc1a94ae1749d14c55f8b54e9d92bd89df82d51a
tree6a5df75770f1ddf65d70a694fb83d00b8ec986c2
parent15293df82bd1c15196e7cb336130c243e9a41806
PCI/PM: Propagate wake-up enable for PCIe devices too

Having read the PM part of the PCIe 2.0 specification more carefully
I think that it was a mistake to restrict the wake-up enable
propagation to non-PCIe devices, because if we do not request
control of the root ports' PME registers via OSC, PCIe PME is
supposed to be handled by the platform, just like the non-PCIe PME.
Even if we do that, the wake-up propagation is done to allow the
devices to wake up the system from sleep states which involves the
platform anyway, so it won't hurt.

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