ACPI: enable repeated PCIEXP wakeup by clearing PCIEXP_WAKE_STS on resume
From: Colin Ian King <email@example.com>
Section 188.8.131.52.1 (PM1 Status Registers) of version 4.0 of
the ACPI spec concerning PCIEXP_WAKE_STS points out in
in the final note field in table 4-11 that if this bit is
set to 1 and the system is put into a sleeping state then
the system will not automatically wake.
This bit gets set by hardware to indicate that the system
woke up due to a PCI Express wakeup event, so clear it during
acpi_hw_clear_acpi_status() calls to enable subsequent
resumes to work.
Signed-off-by: Colin Ian King <firstname.lastname@example.org>
Signed-off-by: Len Brown <email@example.com>
drivers/acpi/acpica/aclocal.h | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)