[PATCH] usb: onboard-hub: bail out if peer hub is already probed
Sascha Hauer
s.hauer at pengutronix.de
Tue Apr 2 01:41:15 PDT 2024
On Wed, 27 Mar 2024 17:55:54 +0100, Lucas Stach wrote:
> Many physical hub chips include multiple logical hubs to handle both
> USB and 2 and 3. Both logical hubs will then match the onboard hub
> driver, which means we'll end up with two driver instances trying to
> control the reset GPIO that is only present once on the physical chip.
>
> As this doesn't make sense, just bail out of the probe function when
> the peer-hub is already probed and can be assumed to handle power,
> clocks and reset resources of the chip.
>
> [...]
Applied, thanks!
[1/1] usb: onboard-hub: bail out if peer hub is already probed
https://git.pengutronix.de/cgit/barebox/commit/?id=5423885658da (link may not be stable)
Best regards,
--
Sascha Hauer <s.hauer at pengutronix.de>
More information about the barebox
mailing list