[PATCH v2 0/5] usb: host: xhci-plat: omit shared hcd if either of the root hubs has no ports
Mathias Nyman
mathias.nyman at linux.intel.com
Thu Mar 24 02:23:50 PDT 2022
On 17.3.2022 0.08, Heiner Kallweit wrote:
> I have a system with a low-cost Amlogic S905W SoC that supports USB3
> but has a USB3 root hub with no ports. This results in an error
> message and a hcd that is good for nothing. The USB2 root hub has
> ports and works normally.
> I think we can do better and omit creating a shared hcd if either of
> the root hubs has no ports. This series is based on discussion [0].
>
> The series works as intended for me. What I couldn't test is the case
> of the USB2 root hub having no ports.
>
> Follow-up to this series could be applying the xhci-plat extension
> to other xhci drivers.
>
Thanks,
Patches look good but something must have changed since you submitted them.
I can't apply them neatly on usb-next, usb-linus, 5.17, or 5.17-rc8
On top of usb-next I get:
Applying: usb: host: xhci-plat: create shared hcd after having added main hcd
error: patch failed: drivers/usb/host/xhci-plat.c:313
error: drivers/usb/host/xhci-plat.c: patch does not apply
Patch failed at 0003 usb: host: xhci-plat: create shared hcd after having added main hcd
-Mathias
More information about the linux-amlogic
mailing list