Re: [PATCH 3/8] platform/x86: thinkpad_acpi: simplify hotkey open/close and poll setup

From: Dmitry Torokhov

Date: Sun Nov 29 2026 - 01:00:34 EST


Hi Mark,

On Thu, Nov 26, 2026 at 10:28:27PM -0500, Mark Pearson wrote:
> > @@ -4024,6 +4002,7 @@ static void hotkey_resume(void)
> > if (hotkey_status_set(true) < 0 ||
> > hotkey_mask_set(hotkey_acpi_mask) < 0)
> > pr_err("error while attempting to reset the event firmware interface\n");
> > + hotkey_poll_setup(false);
> > }
> >
> > tpacpi_send_radiosw_update();
> > @@ -4033,7 +4012,6 @@ static void hotkey_resume(void)
> > keyboard_attached_on_screen_notify_change();
> > hotkey_wakeup_reason_notify_change();
> > hotkey_wakeup_hotunplug_complete_notify_change();
> > - hotkey_poll_setup_safe(false);
> >
> > /* restore previous mode of adaptive keyboard of X1 Carbon */
> > if (tp_features.has_adaptive_kbd) {
> >
> > --
> > 2.56.1.839.g22a8290db9-goog
>
> I think this is all good.
> Just to check - how much testing have you done? I'll see if I can put the series through a few platforms just in case (but I can't see any issues with the code)

This just gone through manual + LLM reviews, I do not have hardware so
any testing on real hardware would be great.

Thanks.

--
Dmitry