Page MenuHomeFreeBSD

acpi: Fix trying to enter NONE state
ClosedPublic

Authored by obiwac on Thu, Feb 5, 12:52 AM.

Details

Summary

In acpi_system_eventhandler_sleep(), I forgot to update
ACPI_STATE_UNKNOWN when switching to new sleep types.

Reported by: eduardo@
Fixes: 97d152698f48 ("acpi: Use sleep types defined in sys/power.h")
Sponsored by: The FreeBSD Foundation

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

I do not see any other such type mistake with enum power_stype involved (have checked quite a number of references, including all of acpic.c and subr_power.c).

This revision is now accepted and ready to land.Thu, Feb 5, 1:39 PM
This revision was automatically updated to reflect the committed changes.