diff options
| author | Vitaliy Sochnev <sochnev.v.74@gmail.com> | 2026-09-15 20:41:28 +0100 |
|---|---|---|
| committer | Daniel Lezcano <daniel.lezcano@kernel.org> | 2026-09-18 11:23:33 +0200 |
| commit | 7efceedd23678cd58e98b2c64d4b2b7be03f6cf9 (patch) | |
| tree | c79249149ea9fa8cc8d29326f1a862e1a6c56224 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 7cbf4366da396f415e9c9f1d5b11b45ebdf59ec3 (diff) | |
thermal/drivers/airoha: Request the EN7581 IRQ after zone registration
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@gmail.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@kernel.org>
Link: https://patch.msgid.link/20260915194128.42508-1-sochnev.v.74@gmail.com
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
