Re: [PATCH v3 0/2] usb: core: fix failed device driver probes, add pre_probe

From: James Clark

Date: Mon Nov 23 2026 - 07:12:59 EST


On Mon, Nov 23, 2026 at 12:37:43PM +0100, Thorsten Leemhuis wrote:
> James, Alan, what happened to this? Looks like it feel through the
> cracks after Alan's "This is all starting to sound very complicated and
> fragile. Isn't there any way to simplify it?" later in the thread,
> which was more than two weeks ago. Or was this regression fixed and I
> just missed it?

It's not fixed yet. After Alan's comment I dropped the pre_probe
approach. v4 instead had onboard_usb_dev call the generic driver's
operations itself, so that it can defer before the hub is configured
(Johan's first suggestion). Alan acked the USB core patch. v5 is the
current version, sent on 2026-11-07:

https://lore.kernel.org/all/cover.1794018128.git.jjc@xxxxxxxxxx/

My understanding is that patch 2 is waiting for a review from Matthias,
as onboard_usb_dev maintainer.

> Side note: another regression bisected to the above mentioned culprit
> was reported recently:
>
> gpio: shared-proxy: open-drain regulators on ODROID-HC4 fail with -EPERM
> https://lore.kernel.org/all/20261115-hc4-gpio-shared-od-1@xxxxxx/
>
> Doesn't look related from a quick look, but well, at the same time I
> wonder if there is some subtle connection.

I don't think they're related.

James