[PATCH] power: regulator: pfuze100: Fix accessing the regulator desc

Tom Rini trini at konsulko.com
Tue Sep 16 05:09:49 CEST 2025


On Tue, Sep 16, 2025 at 10:57:35AM +0800, Peng Fan (OSS) wrote:

> From: Peng Fan <peng.fan at nxp.com>
> 
> se_desc loop check is wrong, it relies on the desc always has
> the expected name to end of the loop. It works because the device tree
> has the expected name as of now, but this may not be always true.
> 
> Drop se_desc by moving the check into probe and fix the loop check.
> 
> Reported-by: Andrew Goodbody <andrew.goodbody at linaro.org>
> Cc: Tom Rini <trini at konsulko.com>
> Cc: Fabio Estevam <festevam at gmail.com>
> Signed-off-by: Peng Fan <peng.fan at nxp.com>

Thanks for reworking this!

Reviewed-by: Tom Rini <trini at konsulko.com>

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20250915/90b13499/attachment.sig>


More information about the U-Boot mailing list