diff options
author | Tom Rini <trini@konsulko.com> | 2024-12-12 09:50:25 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2024-12-12 09:50:25 -0600 |
commit | 88bd5701efdc48048e030d91c2633048f0f753a0 (patch) | |
tree | ce1e585f31fd464a3161f8b2827e55c570222be9 | |
parent | 39adaa54cc424c243942f88c6af9dafb94ef844f (diff) | |
parent | 0e24474cc323a9012bf1f0942f46d1053e326b3f (diff) | |
download | u-boot-WIP/12Dec2024.tar.gz |
Merge branch 'master' of https://source.denx.de/u-boot/custodians/u-boot-usbWIP/12Dec2024
- USB onboard-hub fix
-rw-r--r-- | common/usb_onboard_hub.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/common/usb_onboard_hub.c b/common/usb_onboard_hub.c index 6f28036e095..7fe62b043e6 100644 --- a/common/usb_onboard_hub.c +++ b/common/usb_onboard_hub.c @@ -183,7 +183,12 @@ static int usb_onboard_hub_bind(struct udevice *dev) int ret, off; ret = dev_read_phandle_with_args(dev, "peer-hub", NULL, 0, 0, &phandle); - if (ret) { + if (ret == -ENOENT) { + dev_dbg(dev, "peer-hub property not present\n"); + return 0; + } + + if (ret) { dev_err(dev, "peer-hub not specified\n"); return ret; } |