From: Jean-Jacques Hiblot Date: Fri, 5 Jul 2019 07:33:58 +0000 (+0200) Subject: usb: dwc3: Use UCLASS_NOP instead of UCLASS_MISC for the DWC3 generic glue X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=3b83829ed63fabe460592395571c1d8fd9b861c8;p=project%2Fbcm63xx%2Fu-boot.git usb: dwc3: Use UCLASS_NOP instead of UCLASS_MISC for the DWC3 generic glue dwc3-generic has been broken since MISC uclass has been modified to scan DT sub-nodes after bind. Fixing it by a using the no-op uclass. Signed-off-by: Jean-Jacques Hiblot Reviewed-by: Simon Glass --- diff --git a/drivers/usb/dwc3/dwc3-generic.c b/drivers/usb/dwc3/dwc3-generic.c index 70431facb3..406bf0b362 100644 --- a/drivers/usb/dwc3/dwc3-generic.c +++ b/drivers/usb/dwc3/dwc3-generic.c @@ -350,7 +350,7 @@ static const struct udevice_id dwc3_glue_ids[] = { U_BOOT_DRIVER(dwc3_generic_wrapper) = { .name = "dwc3-generic-wrapper", - .id = UCLASS_MISC, + .id = UCLASS_NOP, .of_match = dwc3_glue_ids, .bind = dwc3_glue_bind, .probe = dwc3_glue_probe,