Re: [PATCH] thermal/drivers/airoha: Request the EN7581 IRQ after zone registration
From: Daniel Lezcano
Date: Fri Sep 18 2026 - 05:41:06 EST
On 9/15/26 21:41, Vitaliy Sochnev wrote:
The EN7581 IRQ is requested before the thermal zone is registered, and
the handler passes priv->tz to thermal_zone_device_update(). Unbind
leaves the monitor interrupt enabled, so an interrupt pending on the
next bind fires while priv->tz is NULL. On a Nokia XG-040G-MD this
oopses in thermal_zone_device_update(). On unbind, devres also frees the
zone before the IRQ.
Request the IRQ in post_probe, after zone registration.
Fixes: 42de37f40e1b ("thermal/drivers: Add support for Airoha EN7581 thermal sensor")
Signed-off-by: Vitaliy Sochnev <sochnev.v.74@xxxxxxxxx>
---
Applied, thanks