Message ID | 20210622172352.3975782-3-kai.heng.feng@canonical.com |
---|---|
State | New |
Headers | show |
Series | Add s2idle support for AMD Cezzane | expand |
diff --git a/drivers/acpi/sleep.c b/drivers/acpi/sleep.c index 36646af15e0a..a87a874b9a77 100644 --- a/drivers/acpi/sleep.c +++ b/drivers/acpi/sleep.c @@ -1054,13 +1054,6 @@ static int lps0_device_attach(struct acpi_device *adev, ACPI_FREE(out_obj); - /* - * Some HP laptops require ACPI_LPS0_ENTRY_AMD/ACPI_LPS0_EXIT_AMD for proper - * S0ix, but don't set the function mask correctly. Fix that up here. - */ - if (acpi_match_vendor_name()) - lps0_dsm_func_mask |= (1 << ACPI_LPS0_ENTRY_AMD) | (1 << ACPI_LPS0_EXIT_AMD); - acpi_handle_debug(adev->handle, "_DSM function mask: 0x%x\n", lps0_dsm_func_mask);
BugLink: https://bugs.launchpad.net/bugs/1932577 This reverts commit 4d2d25cf44fe993ebeaad8cc79d164f40c451f7b. Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com> --- drivers/acpi/sleep.c | 7 ------- 1 file changed, 7 deletions(-)