Skip to content

Commit 904d4a6

Browse files
Pratik Vishwakarmarafaeljw
authored andcommitted
ACPI: PM: s2idle: Use correct revision id
AMD spec mentions only revision 0. With this change, device constraint list is populated properly. Signed-off-by: Pratik Vishwakarma <[email protected]> Tested-by: Julian Sikorski <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
1 parent db9b6d8 commit 904d4a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/acpi/x86/s2idle.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ static void lpi_device_get_constraints_amd(void)
9696
int i, j, k;
9797

9898
out_obj = acpi_evaluate_dsm_typed(lps0_device_handle, &lps0_dsm_guid,
99-
1, ACPI_LPS0_GET_DEVICE_CONSTRAINTS,
99+
rev_id, ACPI_LPS0_GET_DEVICE_CONSTRAINTS,
100100
NULL, ACPI_TYPE_PACKAGE);
101101

102102
if (!out_obj)

0 commit comments

Comments
 (0)