From 842d3d5fa346980ad2de33c3cb461728221b4a4f Mon Sep 17 00:00:00 2001 From: deraadt Date: Sun, 11 Aug 2024 05:21:52 +0000 Subject: [PATCH] put ACPI_SST_WAKING in gosleep() where kettenis asked for --- sys/dev/acpi/acpi_x86.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/sys/dev/acpi/acpi_x86.c b/sys/dev/acpi/acpi_x86.c index 0262e2f69cb..7145743dba9 100644 --- a/sys/dev/acpi/acpi_x86.c +++ b/sys/dev/acpi/acpi_x86.c @@ -1,4 +1,4 @@ -/* $OpenBSD: acpi_x86.c,v 1.26 2024/08/10 23:28:17 deraadt Exp $ */ +/* $OpenBSD: acpi_x86.c,v 1.27 2024/08/11 05:21:52 deraadt Exp $ */ /* * Copyright (c) 2005 Thorsten Lockert * Copyright (c) 2005 Jordan Hargrave @@ -123,11 +123,10 @@ gosleep(void *v) sc->sc_wakeup = 1; } - acpi_indicator(sc, ACPI_SST_WAKING); /* blink */ - if (sc->sc_pmc_resume) sc->sc_pmc_resume(sc->sc_pmc_cookie); + acpi_indicator(sc, ACPI_SST_WAKING); /* blink */ return ret; } -- 2.20.1