Re: [PATCH v2 2/2] usb: ehci-vf: enable the vbus supply of the port
Marek Vasut <[email protected]>
| Newsgroups | org.u-boot-project.lists.u-boot |
|---|---|
| Message-ID | <[email protected]> |
On 8/20/26 9:15 AM, Mehmet Fide wrote:
[...]
> @@ -284,6 +293,11 @@ static int ehci_usb_probe(struct udevice *dev)
> struct ehci_hcor *hcor;
> int ret;
>
> + ret = device_get_supply_regulator(dev, "vbus-supply",
> + &priv->vbus_supply);
> + if (ret)
> + debug("%s: no vbus supply\n", dev->name);
What happens if this returns -ENOMEM , is such an error safe to ignore too ?