Messages in this thread | | | Date | Tue, 20 Dec 2022 07:58:01 +0100 | From | Greg Kroah-Hartman <> | Subject | Re: [PATCH] usb: misc: onboard_usb_hub: Don't defer probing for 'incomplete' DT nodes |
| |
On Tue, Dec 20, 2022 at 12:45:01AM +0000, Matthias Kaehlcke wrote: > Some boards have device tree nodes for USB hubs supported by the > onboard_usb_hub driver, but the nodes don't have all properties > needed for the driver to work properly (which is not necessarily > an error in the DT). Currently _find_onboard_hub() returns > -EPROBE_DEFER in such cases, which results in an unusable USB hub, > since successive probes fail in the same way. Use the absence of > the "vdd" supply as an indicator of such 'incomplete' DT nodes > and return -ENODEV. > > Fixes: 8bc063641ceb ("usb: misc: Add onboard_usb_hub driver") > Reported-by: Stefan Wahren <stefan.wahren@i2se.com> > Signed-off-by: Matthias Kaehlcke <mka@chromium.org>
No cc: stable?
| |