summaryrefslogtreecommitdiff
path: root/drivers/usb/host/ehci-generic.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/host/ehci-generic.c')
-rw-r--r--drivers/usb/host/ehci-generic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/ehci-generic.c b/drivers/usb/host/ehci-generic.c
index 0270f3bc95..682a070306 100644
--- a/drivers/usb/host/ehci-generic.c
+++ b/drivers/usb/host/ehci-generic.c
@@ -96,7 +96,7 @@ static int ehci_usb_probe(struct udevice *dev)
if (err < 0)
break;
err = clk_enable(&priv->clocks[i]);
- if (err) {
+ if (err && err != -ENOSYS) {
dev_err(dev, "failed to enable clock %d\n", i);
clk_free(&priv->clocks[i]);
goto clk_err;