Re: [PATCH v2 2/2] usb: ehci-vf: enable the vbus supply of the port
Marek Vasut <[email protected]>
| Newsgroups | gmane.comp.boot-loaders.u-boot |
|---|---|
| Message-ID | <f1018cf1-fc5f-40e1-9951-73f3ca07a5ec__938.664427825131$1787217130$gmane$org@mailbox.org> |
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 ?