From e6bec5fbbfca969ea6c2178489478e695855a48c Mon Sep 17 00:00:00 2001 From: Sachi King Date: Sat, 29 May 2021 22:27:25 +1000 Subject: [PATCH] platform/x86: amd-pmc: Add device HID for AMD PMC The Surface Laptop 4 appears to have used AMD0005 for the PMC instead of the AMDI0005 which would match the ACPI ID Registry. AMD appears to have previously used "AMD" in a number of IDs in the past, and AMD is not allocated to any other entity as an ID, so adding this ID should not cause any harm. Signed-off-by: Sachi King Patchset: amd-s0ix --- 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 3481479a2942..1f4a1cd1f58d 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