Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

platform/x86: amd-pmc: Add alternative acpi id for PMC controller

The Surface Laptop 4 AMD has used the AMD0005 to identify this
controller instead of using the appropriate ACPI ID AMDI0005. Include
AMD0005 in the acpi id list.

Link: https://github.com/linux-surface/acpidumps/tree/master/surface_laptop_4_amd
Link: https://gist.github.com/nakato/2a1a7df1a45fe680d7a08c583e1bf863
Cc: <stable@vger.kernel.org> # 5.14+
Signed-off-by: Sachi King <nakato@nakato.io>
Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>
Link: https://lore.kernel.org/r/20211002041840.2058647-1-nakato@nakato.io
Signed-off-by: Hans de Goede <hdegoede@redhat.com>

authored by

Sachi King and committed by
Hans de Goede
c0d84d2c a0c5814b

+1
+1
drivers/platform/x86/amd-pmc.c
··· 476 476 {"AMDI0006", 0}, 477 477 {"AMDI0007", 0}, 478 478 {"AMD0004", 0}, 479 + {"AMD0005", 0}, 479 480 { } 480 481 }; 481 482 MODULE_DEVICE_TABLE(acpi, amd_pmc_acpi_ids);