Commit the hwsleep.c patch for suspend/resume onto the vendor branch.
This has supposedly been incorporated into the Intel code already, so this will get cleanly replaced with the "official" version when it is next imported and will not cause any conflicts or hiccups.
This commit is contained in:
parent
9d5c013ca4
commit
4f12dbc3f6
@ -298,8 +298,10 @@ AcpiEnterSleepState (
|
||||
/* wait a second, then try again */
|
||||
AcpiOsStall(1000000);
|
||||
|
||||
AcpiHwRegisterWrite(ACPI_MTX_LOCK, PM1_CONTROL,
|
||||
(1 << AcpiHwGetBitShift (SLP_EN_MASK)));
|
||||
if (SleepState > ACPI_STATE_S1) {
|
||||
AcpiHwRegisterWrite(ACPI_MTX_LOCK, PM1_CONTROL,
|
||||
(1 << AcpiHwGetBitShift (SLP_EN_MASK)));
|
||||
}
|
||||
|
||||
enable();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user