From 430592ef2b20b5a32ee00e1e7e4fda56b0b7055a Mon Sep 17 00:00:00 2001 From: OBattler Date: Thu, 7 Oct 2021 15:48:21 +0200 Subject: [PATCH] ACPI suspend now supports suspend type 6 (officially reserved but used by eg. the ASUS P2B-LS) for soft power off. --- src/acpi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/acpi.c b/src/acpi.c index ef336105f..a287b15d5 100644 --- a/src/acpi.c +++ b/src/acpi.c @@ -646,6 +646,7 @@ acpi_reg_write_common_regs(int size, uint16_t addr, uint8_t val, void *p) sus_typ = (val >> 2) & 7; switch (sus_typ) { case 0: + case 6: /* Reserved according to the datasheet but used by eg. the ASUS P2B-LS. */ /* Soft power off. */ plat_power_off(); break;