提交 edd1ed73 编写于 作者: H Henrique de Moraes Holschuh 提交者: Andy Shevchenko

platform/x86: thinkpad_acpi: do not report thermal sensor state for tablet mode switch

We should not do a thermal sensors state dump to the kernel log just
because the laptop is reporting that it changed into or out of tablet
mode.
Signed-off-by: NHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Tested-by: NJordan Glover <Golden_Miller83@protonmail.ch>
Signed-off-by: NAndy Shevchenko <andriy.shevchenko@linux.intel.com>
上级 6e6bc5f6
......@@ -4098,7 +4098,7 @@ static bool hotkey_notify_6xxx(const u32 hkey,
tpacpi_input_send_tabletsw();
hotkey_tablet_mode_notify_change();
*send_acpi_ev = false;
break;
return true;
case TP_HKEY_EV_PALM_DETECTED:
case TP_HKEY_EV_PALM_UNDETECTED:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册