[PATCH v2] usb: onboard-hub: Fix return type for regulator APIs
Michal Simek
michal.simek at amd.com
Tue Jun 10 10:03:30 CEST 2025
On 5/21/25 16:43, Michal Simek wrote:
> Hi Marek,
>
> On 4/12/25 22:52, Marek Vasut wrote:
>> On 4/11/25 7:55 AM, Michal Simek wrote:
>>> From: Padmarao Begari <padmarao.begari at amd.com>
>>>
>>> Apart from ENOENT observing return value as ENOSYS when
>>> !DM_REGULATOR that's why cover both configurations.
>>> Changed code is not working as operation should be "&&"
>>> not "||" (ret != -ENOENT && ret != -ENOSYS).
>>>
>>> Also fix the remove function where the regulator_set_enable_if_allowed()
>>> function is returning an error.
>>>
>>> Signed-off-by: Padmarao Begari <padmarao.begari at amd.com>
>>> Signed-off-by: Michal Simek <michal.simek at amd.com>
>> Reviewed-by: Marek Vasut <marex at denx.de>
>
> are you going to pick this up? Or should I take it via my tree?
FYI: Applied via my tree.
Thanks,
Michal
More information about the U-Boot
mailing list