@@ -712,8 +712,6 @@ static const struct acpi_device_id lps0_device_ids[] = {
/* AMD */
#define ACPI_LPS0_DSM_UUID_AMD "e3f32452-febc-43ce-9039-932122d37721"
-#define ACPI_LPS0_ENTRY_AMD 2
-#define ACPI_LPS0_EXIT_AMD 3
#define ACPI_LPS0_SCREEN_OFF_AMD 4
#define ACPI_LPS0_SCREEN_ON_AMD 5
@@ -1119,7 +1117,6 @@ static int acpi_s2idle_prepare_late(void)
if (acpi_match_vendor_name()) {
acpi_sleep_run_lps0_dsm(ACPI_LPS0_SCREEN_OFF_AMD);
- acpi_sleep_run_lps0_dsm(ACPI_LPS0_ENTRY_AMD);
} else {
acpi_sleep_run_lps0_dsm(ACPI_LPS0_SCREEN_OFF);
acpi_sleep_run_lps0_dsm(ACPI_LPS0_ENTRY);
@@ -1199,7 +1196,6 @@ static void acpi_s2idle_restore_early(void)
return;
if (acpi_match_vendor_name()) {
- acpi_sleep_run_lps0_dsm(ACPI_LPS0_EXIT_AMD);
acpi_sleep_run_lps0_dsm(ACPI_LPS0_SCREEN_ON_AMD);
} else {
acpi_sleep_run_lps0_dsm(ACPI_LPS0_EXIT);
BugLink: https://bugs.launchpad.net/bugs/1932577 This reverts commit 319f8d6cb228a3605254c386053b2298fd90f29c. Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com> --- drivers/acpi/sleep.c | 4 ---- 1 file changed, 4 deletions(-)