diff options
author | Henrique de Moraes Holschuh <hmh@hmh.eng.br> | 2009-01-11 00:01:09 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2009-01-15 13:48:03 -0500 |
commit | 54926ce8d2db7ebcbc4b80aae2cec571cd793e46 (patch) | |
tree | 4c912cf43a12ce95a809fe3da53bdcda4f21e0a1 | |
parent | 1c2ece758a36b48133717e4db060fbe8fa52c5cd (diff) |
ACPI: thinkpad-acpi: handle HKEY event 6030
HKEY event 0x6030 is a helper for Lenovo's Advanced Thermal Management
Windows driver, which is, of course, completely undocumented.
Silence any warnings about it being an unknown alarm, and report it
unmodified for userspace.
Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Signed-off-by: Len Brown <len.brown@intel.com>
-rw-r--r-- | drivers/platform/x86/thinkpad_acpi.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/platform/x86/thinkpad_acpi.c b/drivers/platform/x86/thinkpad_acpi.c index 213219d938e8..886a4306e78c 100644 --- a/drivers/platform/x86/thinkpad_acpi.c +++ b/drivers/platform/x86/thinkpad_acpi.c | |||
@@ -2702,6 +2702,12 @@ static bool hotkey_notify_thermal(const u32 hkey, | |||
2702 | "a sensor reports something is extremely hot!\n"); | 2702 | "a sensor reports something is extremely hot!\n"); |
2703 | /* recommended action: immediate sleep/hibernate */ | 2703 | /* recommended action: immediate sleep/hibernate */ |
2704 | return true; | 2704 | return true; |
2705 | case 0x6030: | ||
2706 | printk(TPACPI_INFO | ||
2707 | "EC reports that Thermal Table has changed\n"); | ||
2708 | /* recommended action: do nothing, we don't have | ||
2709 | * Lenovo ATM information */ | ||
2710 | return true; | ||
2705 | default: | 2711 | default: |
2706 | printk(TPACPI_ALERT | 2712 | printk(TPACPI_ALERT |
2707 | "THERMAL ALERT: unknown thermal alarm received\n"); | 2713 | "THERMAL ALERT: unknown thermal alarm received\n"); |