]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ACPI: enable repeated PCIEXP wakeup by clearing PCIEXP_WAKE_STS on resume
authorColin Ian King <colin.king@canonical.com>
Mon, 2 Aug 2010 15:14:43 +0000 (15:14 +0000)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Thu, 6 Jan 2011 23:08:16 +0000 (18:08 -0500)
commit14327dc08260abe9b5259ea6dae771178201d72a
tree053ffe6f2c499455c0febb3d07079f7b2c5947d3
parent9303c5eda74b6be97155b83a2ba6ffcdf98d2845
ACPI: enable repeated PCIEXP wakeup by clearing PCIEXP_WAKE_STS on resume

commit 573b638158029898caf9470c8214b7ddd29751e3 upstream.

Section 4.7.3.1.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.

BugLink: http://bugs.launchpad.net/bugs/613381
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
drivers/acpi/acpica/aclocal.h