Re: [PATCH] platform/x86: thinkpad_acpi: Use input_device_enabled()
From: Ali Ahmet Memiş
Date: Wed Sep 30 2026 - 04:01:08 EST
On Tue, Sep 15, 2026 at 02:32:34PM +0300, Ilpo Järvinen wrote:
> [1/1] platform/x86: thinkpad_acpi: Use input_device_enabled()
> commit: be0048786d53375fa4eace15cfdf65593956a1a2
This hangs on module load for me. hotkey_inputdev_open() gets
called from input_open_device() with dev->mutex already held, so the
new lock in hotkey_poll_setup() deadlocks:
INFO: task insmod:28182 is blocked on a mutex likely owned by task insmod:28182.
hotkey_poll_setup+0x50/0x140 [thinkpad_acpi]
hotkey_inputdev_open+0x36/0x50 [thinkpad_acpi]
input_open_device+0x9d/0x130
kbd_connect+0x8f/0xb0
I guess hotkey_inputdev_close() has the same issue. This was
next-20260929's thinkpad_acpi.c built against 7.1.11.