ACPI: PM: Add ACPI ID of Alder Lake Fan
authorSumeet Pawnikar <sumeet.r.pawnikar@intel.com>
Tue, 11 May 2021 18:01:42 +0000 (23:31 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 12 May 2021 13:42:19 +0000 (15:42 +0200)
Add a new unique fan ACPI device ID for Alder Lake to
support it in acpi_dev_pm_attach() function.

Fixes: 38748bcb940e ("ACPI: DPTF: Support Alder Lake")
Signed-off-by: Sumeet Pawnikar <sumeet.r.pawnikar@intel.com>
Acked-by: Zhang Rui <rui.zhang@intel.com>
Cc: 5.10+ <stable@vger.kernel.org> # 5.10+
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/device_pm.c

index 096153761ebc35d01c565a4b7aa71d909a274612..58876248b1921efadfa1da71628b1475a3e3ec10 100644 (file)
@@ -1310,6 +1310,7 @@ int acpi_dev_pm_attach(struct device *dev, bool power_on)
                {"PNP0C0B", }, /* Generic ACPI fan */
                {"INT3404", }, /* Fan */
                {"INTC1044", }, /* Fan for Tiger Lake generation */
+               {"INTC1048", }, /* Fan for Alder Lake generation */
                {}
        };
        struct acpi_device *adev = ACPI_COMPANION(dev);