From: kettenis Date: Tue, 9 May 2023 10:13:23 +0000 (+0000) Subject: Apparently there is no need to set the PS2 field. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=d053571ff918767fbecfb16fb3e6ee8304e6f97a;p=openbsd Apparently there is no need to set the PS2 field. ok patrick@ --- diff --git a/sys/arch/arm64/dev/aplcpu.c b/sys/arch/arm64/dev/aplcpu.c index 5e661f572dd..9e4c89daa9c 100644 --- a/sys/arch/arm64/dev/aplcpu.c +++ b/sys/arch/arm64/dev/aplcpu.c @@ -1,4 +1,4 @@ -/* $OpenBSD: aplcpu.c,v 1.6 2023/04/16 08:02:45 kettenis Exp $ */ +/* $OpenBSD: aplcpu.c,v 1.7 2023/05/09 10:13:23 kettenis Exp $ */ /* * Copyright (c) 2022 Mark Kettenis * @@ -396,9 +396,7 @@ aplcpu_setperf(int level) /* Set desired P-state. */ reg &= ~DVFS_CMD_PS1_MASK; - reg &= ~DVFS_CMD_PS2_MASK; reg |= (opp_level << DVFS_CMD_PS1_SHIFT); - reg |= (opp_level << DVFS_CMD_PS2_SHIFT); reg |= DVFS_CMD_SET; bus_space_write_8(sc->sc_iot, sc->sc_ioh[j], DVFS_CMD, reg);