Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit edd1ed73 authored by Henrique de Moraes Holschuh's avatar Henrique de Moraes Holschuh Committed by Andy Shevchenko
Browse files

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: default avatarHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Tested-by: default avatarJordan Glover <Golden_Miller83@protonmail.ch>
Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
parent 6e6bc5f6
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -4098,7 +4098,7 @@ static bool hotkey_notify_6xxx(const u32 hkey,
		tpacpi_input_send_tabletsw();
		tpacpi_input_send_tabletsw();
		hotkey_tablet_mode_notify_change();
		hotkey_tablet_mode_notify_change();
		*send_acpi_ev = false;
		*send_acpi_ev = false;
		break;
		return true;


	case TP_HKEY_EV_PALM_DETECTED:
	case TP_HKEY_EV_PALM_DETECTED:
	case TP_HKEY_EV_PALM_UNDETECTED:
	case TP_HKEY_EV_PALM_UNDETECTED: