Re: [PATCH master] soc: rockchip: io-domain: handle missing supply correctly

2024-04-16 Thread Sascha Hauer
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

[PATCH master] soc: rockchip: io-domain: handle missing supply correctly

2024-04-14 Thread Ahmad Fatoum
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 r