]> git.baikalelectronics.ru Git - kernel.git/commit
ACPI: x86: s2idle: If a new AMD _HID is missing assume Rembrandt
authorMario Limonciello <mario.limonciello@amd.com>
Wed, 21 Sep 2022 20:40:49 +0000 (15:40 -0500)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sun, 25 Sep 2022 15:44:55 +0000 (17:44 +0200)
commit8014c7fc62b73c43e37f9facd49e76de5b42df45
tree51eff62e11fd2eed7dcbf40bb7819b61a9bf8eb7
parentb3ec9c025ff5abe3fa4052f5b3f75b2ec6328234
ACPI: x86: s2idle: If a new AMD _HID is missing assume Rembrandt

A mistake was made that only AMDI0007 was set to rev of "2", but
it should have been also set for AMDI008. If an ID is missing from
the _HID table, then assume it matches Rembrandt behavior.

This implicitly means that if any other behavior changes happen
in the future missing IDs must be added to that table.

Tested-by: catalin@antebit.com
Reviewed-by: Philipp Zabel <philipp.zabel@gmail.com>
Tested-by: Philipp Zabel <philipp.zabel@gmail.com> # GA402RJ
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/x86/s2idle.c