summaryrefslogtreecommitdiff
path: root/drivers/usb/host/dwc3-sti-glue.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/host/dwc3-sti-glue.c')
-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 a72ab20168..3e6c1429d6 100644
--- a/drivers/usb/host/dwc3-sti-glue.c
+++ b/drivers/usb/host/dwc3-sti-glue.c
@@ -159,7 +159,7 @@ static int sti_dwc3_glue_bind(struct udevice *dev)
dwc3_node = node;
}
- if (!ofnode_valid(node)) {
+ if (!ofnode_valid(dwc3_node)) {
pr_err("Can't find dwc3 subnode for %s\n", dev->name);
return -ENODEV;
}