summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/usb/host/dwc3-of-simple.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/dwc3-of-simple.c b/drivers/usb/host/dwc3-of-simple.c
index abc3928f8b..440dd1027d 100644
--- a/drivers/usb/host/dwc3-of-simple.c
+++ b/drivers/usb/host/dwc3-of-simple.c
@@ -50,7 +50,7 @@ static int dwc3_of_simple_clk_init(struct udevice *dev,
int ret;
ret = clk_get_bulk(dev, &simple->clks);
- if (ret == -ENOTSUPP)
+ if (ret == -ENOSYS)
return 0;
if (ret)
return ret;