Re: [PATCH v2] power: supply: bq25890: Fix power_supply reference leak

Sebastian Reichel <[email protected]>
Newsgroups org.kernel.vger.linux-pm,org.kernel.vger.linux-kernel,org.kernel.vger.stable
Message-ID <[email protected]>
On Wed, 22 Jul 2026 12:44:16 +0800, Ma Ke wrote:
> bq25890_fw_probe() acquires a reference to a secondary charger using
> power_supply_get_by_name(), but the reference is not released on later
> probe failures or on driver detach.
> 
> In particular, failures after bq25890_fw_probe() returns successfully,
> such as a failure in bq25890_hw_init(), also leak the reference.
> 
> [...]

Applied, thanks!

[1/1] power: supply: bq25890: Fix power_supply reference leak
      commit: 863c32a83e4235eb0cbf6106f2b124e645302156

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.