OSDN Git Service

ACPI: fan: Add Tiger Lake ACPI device ID
authorGayatri Kammela <gayatri.kammela@intel.com>
Mon, 16 Dec 2019 18:31:49 +0000 (10:31 -0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 19 Dec 2019 21:51:55 +0000 (22:51 +0100)
Tiger Lake has a new unique ACPI device ID for the ACPI fan that
needs to be added to the fan driver and to the blacklist in
acpi_dev_pm_attach() to support it.

Signed-off-by: Gayatri Kammela <gayatri.kammela@intel.com>
[ rjw: Subject & changelog, fold in another patch ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/device_pm.c
drivers/acpi/fan.c

index 5e4a886..b64c62b 100644 (file)
@@ -1321,6 +1321,7 @@ int acpi_dev_pm_attach(struct device *dev, bool power_on)
         */
        static const struct acpi_device_id special_pm_ids[] = {
                {"PNP0C0B", }, /* Generic ACPI fan */
+               {"INT1044", }, /* Fan for Tiger Lake generation */
                {"INT3404", }, /* Fan */
                {}
        };
index 816b080..13708fb 100644 (file)
@@ -25,6 +25,7 @@ static int acpi_fan_remove(struct platform_device *pdev);
 
 static const struct acpi_device_id fan_device_ids[] = {
        {"PNP0C0B", 0},
+       {"INT1044", 0},
        {"INT3404", 0},
        {"", 0},
 };