linux-stable/drivers/acpi/x86
Mario Limonciello 9cc8cd086f ACPI: x86: s2idle: Fix a logic error parsing AMD constraints table
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: 146f1ed852 ("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>
2023-08-21 20:28:20 +02:00
..
apple.c ACPI: property: Support strings in Apple _DSM props 2023-04-27 18:50:26 +02:00
s2idle.c ACPI: x86: s2idle: Fix a logic error parsing AMD constraints table 2023-08-21 20:28:20 +02:00
utils.c ACPI: x86: Add ACPI_QUIRK_UART1_SKIP for Lenovo Yoga Book yb1-x90f/l 2023-05-18 20:17:56 +02:00