summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2018-04-08 13:33:02 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2018-04-08 13:33:02 +0000
commitdd07177658528e4ddf9a48cce2cd8baa5c649d0d (patch)
treee98645bdf861122726c92142a0397e0ed9763a8a
parent53660460f4a04e47f41c2d8c2f97768e89a9455f (diff)
Deassert resets.
-rw-r--r--sys/dev/fdt/rkdwusb.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/fdt/rkdwusb.c b/sys/dev/fdt/rkdwusb.c
index 8180ec9e3b6..54c5c54d8c5 100644
--- a/sys/dev/fdt/rkdwusb.c
+++ b/sys/dev/fdt/rkdwusb.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rkdwusb.c,v 1.1 2017/08/11 22:06:20 kettenis Exp $ */
+/* $OpenBSD: rkdwusb.c,v 1.2 2018/04/08 13:33:01 kettenis Exp $ */
/*
* Copyright (c) 2017 Mark kettenis <kettenis@openbsd.org>
*
@@ -58,6 +58,7 @@ rkdwusb_attach(struct device *parent, struct device *self, void *aux)
struct fdt_attach_args *faa = aux;
clock_enable_all(faa->fa_node);
+ reset_deassert_all(faa->fa_node);
simplebus_attach(parent, &sc->sc_sbus.sc_dev, faa);
}