ACPI: PM: Include alternate AMDI0005 id in special behaviour
authorSachi King <nakato@nakato.io>
Sat, 2 Oct 2021 04:18:40 +0000 (14:18 +1000)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 12 Oct 2021 13:59:16 +0000 (15:59 +0200)
commit1ea1dbf1f54c3345072c963b3acf8830e2468c1b
treed2f5467ec39ac6dd73d2495bd4c33a488794d3f6
parent64570fbc14f8d7cb3fe3995f20e26bc25ce4b2cc
ACPI: PM: Include alternate AMDI0005 id in special behaviour

The Surface Laptop 4 AMD has used the AMD0005 to identify this
controller instead of using the appropriate ACPI ID AMDI0005.  The
AMD0005 needs the same special casing as AMDI0005.

Link: https://github.com/linux-surface/acpidumps/tree/master/surface_laptop_4_amd
Link: https://gist.github.com/nakato/2a1a7df1a45fe680d7a08c583e1bf863
Signed-off-by: Sachi King <nakato@nakato.io>
Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>
Cc: 5.14+ <stable@vger.kernel.org> # 5.14+
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/x86/s2idle.c