View | Details | Raw Unified | Return to bug 278170
Collapse All | Expand All

(-)b/sys/compat/linuxkpi/common/src/linux_acpi.c (-1 / +2 lines)
Lines 111-122 linux_handle_power_suspend_event(void *arg __unused) Link Here
111
	 * TODO: Make acpi_sleep_event consistent
111
	 * TODO: Make acpi_sleep_event consistent
112
	 */
112
	 */
113
	linux_acpi_target_sleep_state = ACPI_STATE_S3;
113
	linux_acpi_target_sleep_state = ACPI_STATE_S3;
114
	pm_suspend_target_state = PM_SUSPEND_MEM;
114
}
115
}
115
116
116
static void
117
static void
117
linux_handle_power_resume_event(void *arg __unused)
118
linux_handle_power_resume_event(void *arg __unused)
118
{
119
{
119
	linux_acpi_target_sleep_state = ACPI_STATE_S0;
120
	linux_acpi_target_sleep_state = ACPI_STATE_S0;
121
	pm_suspend_target_state = PM_SUSPEND_ON;
120
}
122
}
121
123
122
static void
124
static void
123
- 

Return to bug 278170