mirror of
https://git.FreeBSD.org/src.git
synced 2026-06-02 11:24:32 +00:00
acpi: Update mentions of s2idle in comments
We use the explicit "suspend-to-idle" name now. Sponsored by: The FreeBSD Foundation
This commit is contained in:
@@ -126,7 +126,7 @@ linux_handle_power_suspend_event(void *arg __unused, enum power_stype stype)
|
||||
/*
|
||||
* XXX: obiwac Not 100% sure this is correct, but
|
||||
* acpi_target_sleep_state does seem to be set to
|
||||
* ACPI_STATE_S3 during s2idle on Linux.
|
||||
* ACPI_STATE_S3 during suspend-to-idle (aka s2idle) on Linux.
|
||||
*/
|
||||
linux_acpi_target_sleep_state = ACPI_STATE_S3;
|
||||
pm_suspend_target_state = PM_SUSPEND_TO_IDLE;
|
||||
|
||||
@@ -1449,8 +1449,8 @@ acpi_ibm_eventhandler(struct acpi_ibm_softc *sc, int arg)
|
||||
switch (arg) {
|
||||
/*
|
||||
* XXX "Suspend-to-RAM" here is as opposed to suspend-to-disk, but it is
|
||||
* fine if our suspend sleep state transition request puts us in s2idle
|
||||
* instead of suspend-to-RAM.
|
||||
* fine if our suspend sleep state transition request puts us in
|
||||
* suspend-to-idle instead of actual suspend-to-RAM.
|
||||
*/
|
||||
case IBM_EVENT_SUSPEND_TO_RAM:
|
||||
(void)power_pm_suspend(POWER_TRANSITION_SUSPEND);
|
||||
|
||||
Reference in New Issue
Block a user