Re: [PATCH v2] power: supply: sc2731_charger: cancel work on remove

Sebastian Reichel <[email protected]>
Newsgroups org.kernel.vger.linux-pm,org.kernel.vger.linux-kernel
Message-ID <178544907141.238864.15876891010261286730.b4-ty@b4>
On Wed, 29 Jul 2026 18:46:59 +0800, Hongyan Xu wrote:
> The USB notifier and initial charger detection can schedule info->work.
> The remove path unregisters the notifier, but does not cancel queued or
> running work before the devm-allocated driver data is released.
> 
> Set the platform drvdata used by remove, then cancel the work after
> unregistering the notifier.
> 
> [...]

Applied, thanks!

[1/1] power: supply: sc2731_charger: cancel work on remove
      commit: dfc859bb8d332c525872f1a44028137724fa1998

Best regards,
-- 
Sebastian Reichel <[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.