Re: [PATCH 1/4] platform: arm64: thinkpad-t14s-ec: fix IRQ race condition

From: Bryan O'Donoghue

Date: Wed Nov 05 2025 - 20:40:25 EST


On 05/11/2025 23:22, Sebastian Reichel wrote:
Fix a race condition, that an input key related interrupt might be
triggered before the input handler has been registered, which results
in a NULL pointer dereference. This can happen if the user enables
the keyboard backlight shortly before the driver is being probed.

Fixes: 60b7ab6ce030 ("platform: arm64: thinkpad-t14s-ec: new driver")
Signed-off-by: Sebastian Reichel <sre@xxxxxxxxxx>
---
Enabling interrupts late in probe seems like a bit of a no-brainer.

One thing though is the commit log might productively contain the backtrace so that people can match bug fixes to specific backtraces.

Reviewed-by: Bryan O'Donoghue <bod@xxxxxxxxxx>