usb: host: dwc3-sti-glue: Use UCLASS_NOP instead of UCLASS_MISC
authorPatrice Chotard <patrice.chotard@st.com>
Tue, 28 Apr 2020 11:49:50 +0000 (13:49 +0200)
committerMarek Vasut <marek.vasut+renesas@gmail.com>
Tue, 28 Apr 2020 11:52:52 +0000 (13:52 +0200)
dwc3-sti-glue 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: Patrice Chotard <patrice.chotard@st.com>
drivers/usb/host/dwc3-sti-glue.c

index c99a1985cca56dd49036ff3c36dae239aa165e91..99d4e29414aa43f3c0d24cf9e7b2612db9a69cfc 100644 (file)
@@ -239,7 +239,7 @@ static const struct udevice_id sti_dwc3_glue_ids[] = {
 
 U_BOOT_DRIVER(dwc3_sti_glue) = {
        .name = "dwc3_sti_glue",
-       .id = UCLASS_MISC,
+       .id = UCLASS_NOP,
        .of_match = sti_dwc3_glue_ids,
        .ofdata_to_platdata = sti_dwc3_glue_ofdata_to_platdata,
        .probe = sti_dwc3_glue_probe,