diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2023-03-19 09:46:41 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2023-03-19 09:46:41 +0000 |
commit | 6cd079ebd1c5ac95a4a7abf9c3e73a87867ae5f5 (patch) | |
tree | 6a24fba21b5988914a994d51b8984ae65cba6720 | |
parent | 9d1c6c76d0daba94916ba190f18a87cdff2af962 (diff) |
Use a task to switch clocks on RK3568 as the clock API needs process context.
ok jmatthew@
-rw-r--r-- | sys/dev/ic/dwqevar.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/ic/dwqevar.h b/sys/dev/ic/dwqevar.h index bd4f97a57ed..bb47dd688d6 100644 --- a/sys/dev/ic/dwqevar.h +++ b/sys/dev/ic/dwqevar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: dwqevar.h,v 1.1 2023/02/13 19:18:53 patrick Exp $ */ +/* $OpenBSD: dwqevar.h,v 1.2 2023/03/19 09:46:40 kettenis Exp $ */ /* * Copyright (c) 2008, 2019 Mark Kettenis <kettenis@openbsd.org> * Copyright (c) 2017, 2022 Patrick Wildt <patrick@blueri.se> @@ -67,6 +67,7 @@ struct dwqe_softc { struct timeout sc_tick; struct timeout sc_rxto; + struct task sc_statchg_task; uint32_t sc_clk; |