summaryrefslogtreecommitdiff
path: root/sys/arch/armv7/omap
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2020-06-02 03:16:35 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2020-06-02 03:16:35 +0000
commit364647f4d8dd6b4191a2df2add5d7c5e95ade62f (patch)
tree495fadccd59d23c8e9eb21f255390c390d4872c7 /sys/arch/armv7/omap
parent09c0856231677c253033bffd8627d62354a6d914 (diff)
use correct node when enabling phy
ok kettenis@
Diffstat (limited to 'sys/arch/armv7/omap')
-rw-r--r--sys/arch/armv7/omap/omehci.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/arch/armv7/omap/omehci.c b/sys/arch/armv7/omap/omehci.c
index a21f1e97f57..718d38510c5 100644
--- a/sys/arch/armv7/omap/omehci.c
+++ b/sys/arch/armv7/omap/omehci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: omehci.c,v 1.5 2020/04/07 09:09:46 kettenis Exp $ */
+/* $OpenBSD: omehci.c,v 1.6 2020/06/02 03:16:34 jsg Exp $ */
/*
* Copyright (c) 2005 David Gwynne <dlg@openbsd.org>
@@ -188,8 +188,7 @@ omehci_attach(struct device *parent, struct device *self, void *aux)
printf("\n");
- for (i = 0; i < OMAP_HS_USB_PORTS; i++)
- phy_enable_idx(faa->fa_node, i);
+ phy_enable_idx(node, 0);
if (omehci_init(sc))
return;