Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F161708556
D15306.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
679 B
Referenced Files
None
Subscribers
None
D15306.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D15306: call AcpiLeaveSleepStatePrep after re-enabling interrupts
Attached
Detach File
Event Timeline
Log In to Comment