summaryrefslogtreecommitdiff
path: root/source/components/hardware/hwsleep.c
diff options
context:
space:
mode:
authorSaket Dumbre <saket.dumbre@intel.com>2023-04-28 11:30:07 -0700
committerSaket Dumbre <saket.dumbre@intel.com>2023-04-28 11:30:07 -0700
commit82323f3cfacf4f7e65d5c5b630bb26a4660483b9 (patch)
tree7458692370b8d5a212b38b2685892743aecda9f5 /source/components/hardware/hwsleep.c
parent54dede760bf02cb409f899f907b40d1df6f6d542 (diff)
downloadacpica-82323f3cfacf4f7e65d5c5b630bb26a4660483b9.tar.gz
Manually revert after resolving conflicts PR #757 commit 32d875705c8ee8f99fd8b78dbed48633486a7640
Diffstat (limited to 'source/components/hardware/hwsleep.c')
-rw-r--r--source/components/hardware/hwsleep.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/source/components/hardware/hwsleep.c b/source/components/hardware/hwsleep.c
index d9bb8ae03..0e4e17a0c 100644
--- a/source/components/hardware/hwsleep.c
+++ b/source/components/hardware/hwsleep.c
@@ -475,17 +475,6 @@ AcpiHwLegacyWake (
AcpiGbl_FixedEventInfo[ACPI_EVENT_SLEEP_BUTTON].StatusRegisterId,
ACPI_CLEAR_STATUS);
- /* Enable pcie wake event if support */
- if ((AcpiGbl_FADT.Flags & ACPI_FADT_PCI_EXPRESS_WAKE))
- {
- (void) AcpiWriteBitRegister (
- AcpiGbl_FixedEventInfo[ACPI_EVENT_PCIE_WAKE].EnableRegisterId,
- ACPI_DISABLE_EVENT);
- (void) AcpiWriteBitRegister (
- AcpiGbl_FixedEventInfo[ACPI_EVENT_PCIE_WAKE].StatusRegisterId,
- ACPI_CLEAR_STATUS);
- }
-
AcpiHwExecuteSleepMethod (METHOD_PATHNAME__SST, ACPI_SST_WORKING);
return_ACPI_STATUS (Status);
}