]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
ACPI : Disable the device's ability to wake the sleeping system in the boot phase
authorZhao Yakui <yakui.zhao@intel.com>
Wed, 19 Mar 2008 05:26:54 +0000 (13:26 +0800)
committerLen Brown <len.brown@intel.com>
Thu, 10 Apr 2008 01:57:22 +0000 (21:57 -0400)
commit729b2bdbfa19dd9be98dbd49caf2773b3271cc24
tree525cca2b27a6252e54fea99db36d748ba299e32c
parent7180c4c9e09888db0a188f729c96c6d7bd61fa83
ACPI : Disable the device's ability to wake the sleeping system in the boot phase

In some machines some GPE is shared by several ACPI devices, for example:
sleep button, keyboard, mouse. At the same time one of them is
non-wake(runtime) device and the other are wake devices. In such case OSPM
should call the _PSW object to disable the device's ability to
wake the sleeping system in the boot phase.
Otherwise there will be ACPI interrupt flood triggered by the GPE input.

The _PSW object is depreciated in ACPI 3.0 and is replaced by _DSW.
So it is necessary to call _DSW object first. Only when it is not
present will the _PSW object used.

http://bugzilla.kernel.org/show_bug.cgi?id=10224

Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/scan.c