summaryrefslogtreecommitdiff
path: root/drivers/usb/host/ohci-generic.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2019-09-11 23:08:34 -0400
committerTom Rini <trini@konsulko.com>2019-09-11 23:08:34 -0400
commit5ba8b1254311d00e2bdd9e227b78bdb7e89e69dd (patch)
tree57f8ed74076fb18accd456cc98a05839857238e8 /drivers/usb/host/ohci-generic.c
parent001c8ea94ae710d8340829237a7d788b25ce2ae7 (diff)
parent326b2624192336c99ba18d5151b51d0c07c23193 (diff)
Merge tag 'u-boot-rockchip-20190912' of https://gitlab.denx.de/u-boot/custodians/u-boot-rockchip
- add idbloader.img target for rockchip tpl+spl; - usb ehci/ohci: go on process if clock driver don't have clk_enable(); - remove clk_enable() for rockchip clock drivers; - add boot order for rockpro64
Diffstat (limited to 'drivers/usb/host/ohci-generic.c')
-rw-r--r--drivers/usb/host/ohci-generic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/ohci-generic.c b/drivers/usb/host/ohci-generic.c
index 24b5c3156f..916ea0b955 100644
--- a/drivers/usb/host/ohci-generic.c
+++ b/drivers/usb/host/ohci-generic.c
@@ -95,7 +95,7 @@ static int ohci_usb_probe(struct udevice *dev)
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;