Mario Limonciello 7c70932568 ACPI: x86: s2idle: Fix a logic error parsing AMD constraints table
[ Upstream commit 9cc8cd086f05d9a01026c65c98da88561e9c619e ]

The constraints table should be resetting the `list` object
after running through all of `info_obj` iterations.

This adjusts whitespace as well as less code will now be included
with each loop. This fixes a functional problem is fixed where a
badly formed package in the inner loop may have incorrect data.

Fixes: 146f1ed852a8 ("ACPI: PM: s2idle: Add AMD support to handle _DSM")
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-09-13 09:42:29 +02:00
..
2022-10-03 20:09:22 +02:00
2022-04-05 10:24:38 +02:00
2022-05-25 15:37:07 +02:00
2022-12-31 13:31:55 +01:00
2022-10-05 10:38:24 -07:00
2022-01-22 08:33:37 +02:00
2022-09-30 20:05:16 +02:00
2023-09-02 09:16:18 +02:00
2022-10-03 20:09:22 +02:00