From: sashiko-bot@kernel.org
To: "Myeonghun Pak" <mhun512@gmail.com>
Cc: linux-hwmon@vger.kernel.org
Subject: Re: [PATCH v3] hwmon: (sht15) Stop deferred work before releasing its resources
Date: Sat, 24 Oct 2026 01:47:56 +0000 [thread overview]
Message-ID: <sashiko-outbox-183492@kernel.org> (raw)
In-Reply-To: <20261024014044.27853-1-mhun512@gmail.com>
> The IRQ handler and regulator notifier can leave work pending after a
> measurement or notification completes. Neither work item is drained before
> its resources are released on removal or probe failure.
>
> Disable read_work before freeing the IRQ, since the worker can re-enable
> it. Use request_irq()/free_irq() for explicit teardown. Unregister the
> regulator notifier before cancelling update_supply_work and disabling the
> regulator. Apply the same ordering to probe failures.
>
> Fixes: 251eb40f5ccd ("hwmon: sht15 humidity sensor driver")
> Assisted-by: LLM
> Co-developed-by: Ijae Kim <ae878000@gmail.com>
> Signed-off-by: Ijae Kim <ae878000@gmail.com>
> Signed-off-by: Myeonghun Pak <mhun512@gmail.com>
Sashiko has reviewed this patch and found no issues.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261024014044.27853-1-mhun512@gmail.com?part=1
next prev parent reply other threads:[~2026-10-24 1:47 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-24 1:40 [PATCH v3] hwmon: (sht15) Stop deferred work before releasing its resources Myeonghun Pak
2026-10-24 1:47 ` sashiko-bot [this message]
2026-10-26 0:20 ` Guenter Roeck
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=sashiko-outbox-183492@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=linux-hwmon@vger.kernel.org \
--cc=mhun512@gmail.com \
--cc=sashiko-reviews@lists.linux.dev \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.