summaryrefslogtreecommitdiffstats
path: root/drivers/usb
diff options
context:
space:
mode:
authorPatrice Chotard <patrice.chotard@st.com>2020-04-28 13:49:50 +0200
committerMarek Vasut <marek.vasut+renesas@gmail.com>2020-04-28 13:52:52 +0200
commitf3bc736e41bd9f3dd4aafe564eb8df9c279b09c4 (patch)
treed72d1271c97422168e123d2f0f3ca16c6ae067b1 /drivers/usb
parent245847f06570a74ecff59809a2befc1dce7a354e (diff)
downloadu-boot-f3bc736e41bd9f3dd4aafe564eb8df9c279b09c4.tar.gz
u-boot-f3bc736e41bd9f3dd4aafe564eb8df9c279b09c4.tar.xz
u-boot-f3bc736e41bd9f3dd4aafe564eb8df9c279b09c4.zip
usb: host: dwc3-sti-glue: Use UCLASS_NOP instead of UCLASS_MISC
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>
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/host/dwc3-sti-glue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/dwc3-sti-glue.c b/drivers/usb/host/dwc3-sti-glue.c
index c99a1985cc..99d4e29414 100644
--- a/drivers/usb/host/dwc3-sti-glue.c
+++ b/drivers/usb/host/dwc3-sti-glue.c
@@ -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,