Re: [PATCH v19 4/5] usb: core: hcd: Create platform devices for onboard hubs in probe()
From: Stephen Boyd
Date: Wed Jan 12 2022 - 22:50:39 EST
Quoting Matthias Kaehlcke (2022-01-12 11:10:47)
> Call onboard_hub_create/destroy_pdevs() from usb_add/remove_hcd()
> for primary HCDs to create/destroy platform devices for onboard
> USB hubs that may be connected to the root hub of the controller.
> These functions are a NOP unless CONFIG_USB_ONBOARD_HUB=y/m.
>
> Also add a field to struct usb_hcd to keep track of the onboard hub
> platform devices that are owned by the HCD.
>
> Signed-off-by: Matthias Kaehlcke <mka@xxxxxxxxxxxx>
> ---
Reviewed-by: Stephen Boyd <swboyd@xxxxxxxxxxxx>