# --- T2-COPYRIGHT-BEGIN --- # t2/package/*/linux/s4-halt.patch.disabled # Copyright (C) 2016 - 2026 The T2 SDE Project # SPDX-License-Identifier: GPL-2.0 or patched project license # --- T2-COPYRIGHT-END --- --- linux-4.3/drivers/acpi/sleep.c.orig 2015-12-29 15:27:21.100959963 +0000 +++ linux-4.3/drivers/acpi/sleep.c 2015-12-29 15:28:36.828960630 +0000 @@ -811,7 +811,7 @@ static void acpi_power_off_prepare(void) { /* Prepare to power off the system */ - acpi_sleep_prepare(ACPI_STATE_S5); + acpi_sleep_prepare(ACPI_STATE_S4); acpi_disable_all_gpes(); acpi_os_wait_events_complete(); } @@ -821,7 +821,7 @@ /* acpi_sleep_prepare(ACPI_STATE_S5) should have already been called */ printk(KERN_DEBUG "%s called\n", __func__); local_irq_disable(); - acpi_enter_sleep_state(ACPI_STATE_S5); + acpi_enter_sleep_state(ACPI_STATE_S4); } int __init acpi_sleep_init(void)