Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F172220363
D59741.id186908.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
614 B
Referenced Files
None
Subscribers
None
D59741.id186908.diff
View Options
diff --git a/sys/dev/acpica/acpi.c b/sys/dev/acpica/acpi.c
--- a/sys/dev/acpica/acpi.c
+++ b/sys/dev/acpica/acpi.c
@@ -3869,8 +3869,11 @@
EVENTHANDLER_INVOKE(power_resume, stype);
- if (stype == POWER_STYPE_SUSPEND_TO_IDLE && ACPI_SUCCESS(status))
- check_post_suspend_to_idle(sc->acpi_dev);
+ if (ACPI_SUCCESS(status)) {
+ if (stype == POWER_STYPE_SUSPEND_TO_IDLE)
+ check_post_suspend_to_idle(sc->acpi_dev);
+ EVENTHANDLER_INVOKE(power_resume_check, stype);
+ }
/* Allow another sleep request after a while. */
callout_schedule(&acpi_sleep_timer, hz * ACPI_MINIMUM_AWAKETIME);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Sep 17, 11:30 PM (53 m, 19 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
39099676
Default Alt Text
D59741.id186908.diff (614 B)
Attached To
Mode
D59741: acpi: Invoke power_resume_check eventhandler
Attached
Detach File
Event Timeline
Log In to Comment