From: kettenis Date: Sun, 19 Mar 2023 09:46:40 +0000 (+0000) Subject: Use a task to switch clocks on RK3568 as the clock API needs process context. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=7bc2c437d759549a0c055779bb8382456328d84a;p=openbsd Use a task to switch clocks on RK3568 as the clock API needs process context. ok jmatthew@ --- 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 * Copyright (c) 2017, 2022 Patrick Wildt @@ -67,6 +67,7 @@ struct dwqe_softc { struct timeout sc_tick; struct timeout sc_rxto; + struct task sc_statchg_task; uint32_t sc_clk;