Messages in this thread | | | From | Doug Anderson <> | Date | Wed, 15 Jun 2022 14:10:27 -0700 | Subject | Re: [PATCH v22 3/3] usb: core: hub: Create platform devices for onboard hubs in hub_probe() |
| |
Hi,
On Thu, Jun 9, 2022 at 12:20 PM Matthias Kaehlcke <mka@chromium.org> wrote: > > Call onboard_hub_create/destroy_pdevs() from hub_probe/disconnect() > to create/destroy platform devices for onboard USB hubs that may be > connected to the hub. The onboard hubs must have nodes in the > device tree. > > onboard_hub_create/destroy_pdevs() are NOPs unless > CONFIG_USB_ONBOARD_HUB=y/m. > > Also add a field to struct usb_hub to keep track of the onboard hub > platform devices that are owned by the hub. > > Signed-off-by: Matthias Kaehlcke <mka@chromium.org> > --- > > Changes in v22: > - patch added to the series (moved creation/deletion from HCD) > > drivers/usb/core/hub.c | 9 ++++++++- > drivers/usb/core/hub.h | 1 + > 2 files changed, 9 insertions(+), 1 deletion(-)
Reviewed-by: Douglas Anderson <dianders@chromium.org>
| |