[PATCH master] soc: rockchip: io-domain: handle missing supply correctly
Sascha Hauer
s.hauer at pengutronix.de
Tue Apr 16 03:26:58 PDT 2024
On Mon, 15 Apr 2024 07:31:30 +0200, Ahmad Fatoum wrote:
> The original Linux code calls regulator_get_optional and handles its
> -ENODEV return code, which morphed into regulator_get when ported to
> barebox. The error handling stayed as-is leading to causing supplies to
> trigger errors instead of being silently ignored.
>
> As we use NULL to describe the dummy regulator in barebox, we can add a
> trivial regulator_get_optional implementation and use it to fix the
> I/O domain driver.
>
> [...]
Applied, thanks!
[1/1] soc: rockchip: io-domain: handle missing supply correctly
https://git.pengutronix.de/cgit/barebox/commit/?id=284a876cee1f (link may not be stable)
Best regards,
--
Sascha Hauer <s.hauer at pengutronix.de>
More information about the barebox
mailing list