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

From: Wentao Liang

Date: Sat Nov 07 2026 - 12:36:08 EST


On Thu, Sep 17, 2026 at 11:21:42PM +0100, Mark Brown wrote:
> This doesn't apply against current code, please check and resend.

Sorry for the very late reply, and for not checking the patch against
current code before sending it.

The reason it does not apply is that the leak has already been fixed by

7fd28093b3ef ("regulator: tps6594: Fix device node reference leaks in multiphase loop")

which releases np, the intermediate parent and np_pmic_parent at the end
of each iteration, and adds the missing NULL check after
of_find_node_by_name() as well. The commit is in v7.3-rc1 and later, and
I confirmed that current mainline has no unbalanced of_get_parent() left
in that loop.

So there is nothing to resend from my side, and I will not submit a
duplicate. Sorry again for the delay and for the noise.

Thanks,
Wentao