Skip to content

Commit

Permalink
ACPI: PM: s2idle: Use correct revision id
Browse files Browse the repository at this point in the history
AMD spec mentions only revision 0. With this change,
device constraint list is populated properly.

Signed-off-by: Pratik Vishwakarma <Pratik.Vishwakarma@amd.com>
Tested-by: Julian Sikorski <belegdol@gmail.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
  • Loading branch information
Pratik Vishwakarma authored and Rafael J. Wysocki committed Jun 18, 2021
1 parent db9b6d8 commit 904d4a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/acpi/x86/s2idle.c
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ static void lpi_device_get_constraints_amd(void)
int i, j, k;

out_obj = acpi_evaluate_dsm_typed(lps0_device_handle, &lps0_dsm_guid,
1, ACPI_LPS0_GET_DEVICE_CONSTRAINTS,
rev_id, ACPI_LPS0_GET_DEVICE_CONSTRAINTS,
NULL, ACPI_TYPE_PACKAGE);

if (!out_obj)
Expand Down

0 comments on commit 904d4a6

Please sign in to comment.