Page MenuHomeFreeBSD

D15306.diff
No OneTemporary

D15306.diff

Index: sys/dev/acpica/acpi.c
===================================================================
--- sys/dev/acpica/acpi.c
+++ sys/dev/acpica/acpi.c
@@ -2975,8 +2975,6 @@
if (sleep_result == 1 && state != ACPI_STATE_S4)
AcpiWriteBitRegister(ACPI_BITREG_SCI_ENABLE, ACPI_ENABLE_EVENT);
- AcpiLeaveSleepStatePrep(state);
-
if (sleep_result == 1 && state == ACPI_STATE_S3) {
/*
* Prevent mis-interpretation of the wakeup by power button
@@ -3004,6 +3002,8 @@
/* call acpi_wakeup_machdep() again with interrupt enabled */
acpi_wakeup_machdep(sc, state, sleep_result, 1);
+
+ AcpiLeaveSleepStatePrep(state);
if (sleep_result == -1)
goto backout;

File Metadata

Mime Type
text/plain
Expires
Tue, Jul 7, 3:41 AM (20 h, 3 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
34781135
Default Alt Text
D15306.diff (679 B)

Event Timeline