From: Zhang Rui Date: Thu, 17 Jan 2008 07:51:25 +0000 (+0800) Subject: ACPI: ACPI thermal zone handle notification correctly X-Git-Tag: v2.6.25-rc1~297^2~3^2~2^2~1^3~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ce44e19701ac1de004815c225585ff617c5948b4;p=pandora-kernel.git ACPI: ACPI thermal zone handle notification correctly Change the ACPI thermal action upon notification 0x81 and 0x82. According to the ACPI spec, we should: re-evaluate _PSV and _ACx methods upon notification 0x81 re-evaluate _PSL and _ALx and _TZD upon notificaiton 0x82. But the current code re-evaluates all the trip points for 0x81 while only re-evaluates _TZD for 0x82. Fix this violation of ACPI spec. TODO: devices in _PSL, _ALx and _TZD may change after a notification 0x82. At this time, we need to re-bind the cooling devices with the thermal zone. Signed-off-by: Zhang Rui Signed-off-by: Thomas Sujith Signed-off-by: Len Brown --- Reading git-diff-tree failed