[PATCH 1/2] platform/x86: amd-pmc: Add alternative acpi id for PMC controller

From: Sachi King
Date: Sat Oct 02 2021 - 00:19:13 EST


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.

Cc: <stable@xxxxxxxxxxxxxxx> # 5.14+
Signed-off-by: Sachi King <nakato@xxxxxxxxx>
---
drivers/platform/x86/amd-pmc.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/platform/x86/amd-pmc.c b/drivers/platform/x86/amd-pmc.c
index d6a7c896ac86..fc95620101e8 100644
--- a/drivers/platform/x86/amd-pmc.c
+++ b/drivers/platform/x86/amd-pmc.c
@@ -476,6 +476,7 @@ static const struct acpi_device_id amd_pmc_acpi_ids[] = {
{"AMDI0006", 0},
{"AMDI0007", 0},
{"AMD0004", 0},
+ {"AMD0005", 0},
{ }
};
MODULE_DEVICE_TABLE(acpi, amd_pmc_acpi_ids);
--
2.33.0