diff options
author | 2021-02-14 19:24:38 +0000 | |
---|---|---|
committer | 2021-02-14 19:24:38 +0000 | |
commit | f1cfcbba3045c5d8cdb8966b044e9ba08eab2502 (patch) | |
tree | 592b3ac27c9d5c081318482c71ddec287cf353da /sys | |
parent | Enable clocks. (diff) | |
download | wireguard-openbsd-f1cfcbba3045c5d8cdb8966b044e9ba08eab2502.tar.xz wireguard-openbsd-f1cfcbba3045c5d8cdb8966b044e9ba08eab2502.zip |
Enable clocks and adjust for removal of subnodes in upstream Linux
device trees.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/armv7/exynos/exehci.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/arch/armv7/exynos/exehci.c b/sys/arch/armv7/exynos/exehci.c index 6cff8880116..4d6af8b3f2e 100644 --- a/sys/arch/armv7/exynos/exehci.c +++ b/sys/arch/armv7/exynos/exehci.c @@ -1,4 +1,4 @@ -/* $OpenBSD: exehci.c,v 1.8 2017/12/23 10:23:34 kettenis Exp $ */ +/* $OpenBSD: exehci.c,v 1.9 2021/02/14 19:24:38 kettenis Exp $ */ /* * Copyright (c) 2012-2013 Patrick Wildt <patrick@blueri.se> * @@ -127,7 +127,7 @@ exehci_attach(struct device *parent, struct device *self, void *aux) node = OF_child(faa->fa_node); if (node == 0) - return; + node = faa->fa_node; if (OF_getpropintarray(node, "phys", phys, sizeof(phys)) != sizeof(phys)) @@ -160,6 +160,8 @@ exehci_attach(struct device *parent, struct device *self, void *aux) printf("\n"); + clock_enable_all(faa->fa_node); + exehci_setup(sc); sc->sc_ih = arm_intr_establish_fdt(faa->fa_node, IPL_USB, |