usb: dwc3: Use UCLASS_NOP instead of UCLASS_MISC for the DWC3 generic glue
authorJean-Jacques Hiblot <jjhiblot@ti.com>
Fri, 5 Jul 2019 07:33:58 +0000 (09:33 +0200)
committerMarek Vasut <marex@denx.de>
Fri, 5 Jul 2019 12:19:41 +0000 (14:19 +0200)
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 <jjhiblot@ti.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/usb/dwc3/dwc3-generic.c

index 70431facb362472e8993956b9f1bd44bd354a09b..406bf0b3628baf104ea217ec5003aa80d0332564 100644 (file)
@@ -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,