]> git.baikalelectronics.ru Git - kernel.git/commit
ACPICA: Change handling of PM1 Status register ignored bit
authorBob Moore <robert.moore@intel.com>
Mon, 9 Mar 2009 08:32:20 +0000 (16:32 +0800)
committerLen Brown <len.brown@intel.com>
Fri, 27 Mar 2009 16:11:03 +0000 (12:11 -0400)
commit84d2c68d6f41aa40e0ad0af3228cef1f134471de
tree195cc2ab092d085cd945c5ae18e60ffdc0b80bb0
parentba11426d36f62f5c869615185d0195bf10a5c4e7
ACPICA: Change handling of PM1 Status register ignored bit

Ignored bits must be preserved according to the ACPI spec.
Usually this means a read/modify/write when writing to the
register.  However, for status registers, writing a one means
clear the event.  Writing a zero means preserve the event (do not
clear.) This behavior is clarified in the ACPI 4.0 spec, and the
ACPICA code now simply always writes a zero to the ignored bit.

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>
drivers/acpi/acpica/hwregs.c