diff options
author | Sachi King <nakato@nakato.io> | 2021-10-02 07:18:39 +0300 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2021-10-11 16:49:54 +0300 |
commit | c0d84d2c7c23e9cf23a5abdda40eeaa79eabfe69 (patch) | |
tree | 4378965b94111c8d5ab2311b5c344c1447e20926 /drivers/platform | |
parent | a0c5814b9933f25ecb6de169483c5b88cf632bca (diff) | |
download | linux-c0d84d2c7c23e9cf23a5abdda40eeaa79eabfe69.tar.xz |
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>
Diffstat (limited to 'drivers/platform')
-rw-r--r-- | drivers/platform/x86/amd-pmc.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); |