]> git.baikalelectronics.ru Git - kernel.git/commit
ACPI: Add D3 cold state
authorLin Ming <ming.m.lin@intel.com>
Wed, 4 May 2011 14:56:43 +0000 (22:56 +0800)
committerLen Brown <len.brown@intel.com>
Sun, 29 May 2011 06:21:08 +0000 (02:21 -0400)
commit84385c712bebcc9ccff74c3adac173d19eca6489
tree7bdd422ae53e4f48bdaa48e1d83e6c25a1ee56e4
parent5720d480f250a80350663e6b19ef7e83d71738be
ACPI: Add D3 cold state

_SxW returns an Integer containing the lowest D-state supported in state
Sx. If OSPM has not indicated that it supports _PR3, then the value “3”
corresponds to D3.  If it has indicated _PR3 support, the value “3”
represents D3hot and the value “4” represents D3cold.

Linux does set _OSC._PR3, so we should fix it to expect that _SxW can
return 4.

Signed-off-by: Lin Ming <ming.m.lin@intel.com>
Acked-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/bus.c
drivers/pci/pci-acpi.c
include/acpi/actypes.h