]> git.dujemihanovic.xyz Git - u-boot.git/commit
usb: onboard-hub: Update the bind function based on peer-hub property
authorVenkatesh Yadav Abbarapu <venkatesh.abbarapu@amd.com>
Wed, 4 Dec 2024 07:25:20 +0000 (12:55 +0530)
committerMarek Vasut <marex@denx.de>
Wed, 11 Dec 2024 07:22:17 +0000 (08:22 +0100)
commit0e24474cc323a9012bf1f0942f46d1053e326b3f
tree7341e83fe1ecefbeffa9fb9de5a07cabb55db144
parentb841e559cd26ffcb20f22e8ee75debed9616c002
usb: onboard-hub: Update the bind function based on peer-hub property

As the "peer-hub" property is optional, don't error out just
skip the bind function.

Fixes: 57e30b09fc ("usb: onboard-hub: Bail out if peer hub is already probed")
Signed-off-by: Venkatesh Yadav Abbarapu <venkatesh.abbarapu@amd.com>
Acked-by: Michal Simek <michal.simek@amd.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
Tested-by: Patrice Chotard <patrice.chotard@foss.st.com>
common/usb_onboard_hub.c