mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Daniel Lezcano <daniel.lezcano@oss.qualcomm.com>
To: Vitaliy Sochnev <sochnev.v.74@gmail.com>,
	Daniel Lezcano <daniel.lezcano@kernel.org>,
	"Rafael J. Wysocki" <rafael@kernel.org>
Cc: Zhang Rui <rui.zhang@intel.com>,
	Lukasz Luba <lukasz.luba@arm.com>,
	Christian Marangi <ansuelsmth@gmail.com>,
	Lorenzo Bianconi <lorenzo@kernel.org>,
	linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] thermal/drivers/airoha: Request the EN7581 IRQ after zone registration
Date: Fri, 18 Sep 2026 11:24:18 +0200	[thread overview]
Message-ID: <a8eb1095-ff2c-4b60-af76-55f3dc137967@oss.qualcomm.com> (raw)
In-Reply-To: <20260915194128.42508-1-sochnev.v.74@gmail.com>

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@gmail.com>
> ---

Applied, thanks


      reply	other threads:[~2026-09-18  9:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-15 19:41 Vitaliy Sochnev
2026-09-18  9:24 ` Daniel Lezcano [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a8eb1095-ff2c-4b60-af76-55f3dc137967@oss.qualcomm.com \
    --to=daniel.lezcano@oss.qualcomm.com \
    --cc=ansuelsmth@gmail.com \
    --cc=daniel.lezcano@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=lorenzo@kernel.org \
    --cc=lukasz.luba@arm.com \
    --cc=rafael@kernel.org \
    --cc=rui.zhang@intel.com \
    --cc=sochnev.v.74@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®