]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
Make GPE disable more robust
authorBob Moore <robert.moore@intel.com>
Fri, 13 Jun 2008 00:28:55 +0000 (08:28 +0800)
committerAndi Kleen <andi@basil.nowhere.org>
Wed, 16 Jul 2008 21:27:01 +0000 (23:27 +0200)
commite38e8a0743b0e996a8a3fbea8908fe75a84f02c7
tree93dbf03e5c1eff275742989d9b05cb1892c18fe4
parent87dc5e3218ba3d7a9293f9113f58455747a233ac
Make GPE disable more robust

Implemented another change for the GPE disable. We now perform a
read-change-write of the enable register instead of simply writing out the
cached enable mask. This will prevent inadvertent enabling of GPEs if a rogue
GPE is received during initialization (before GPE handlers are installed.)

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

Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Lin Ming <ming.m.lin@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
drivers/acpi/events/evgpe.c
drivers/acpi/hardware/hwgpe.c
include/acpi/achware.h