Re: [PATCH] regulator: tps6594-regulator: Fix np_pmic_parent leak in tps6594_regulator_probe()

From: Mark Brown

Date: Thu Sep 17 2026 - 20:17:20 EST


On Thu, Sep 17, 2026 at 02:31:55PM +0000, Wentao Liang wrote:
> tps6594_regulator_probe() takes a reference on the PMIC parent node
> with of_get_parent(), but never drops it, so the reference leaks on
> every loop iteration and on each error return of the probe.

This doesn't apply against current code, please check and resend.

Attachment: signature.asc
Description: PGP signature