ACPI suspend now supports suspend type 6 (officially reserved but used by eg. the ASUS P2B-LS) for soft power off.

This commit is contained in:
OBattler
2021-10-07 15:48:21 +02:00
parent 3d5096753d
commit 430592ef2b

View File

@@ -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;