From: Gayatri Kammela Date: Mon, 16 Dec 2019 18:31:49 +0000 (-0800) Subject: ACPI: fan: Add Tiger Lake ACPI device ID X-Git-Tag: v5.6-rc1~191^2~1^5~2 X-Git-Url: https://gentwo.org/gitweb/?a=commitdiff_plain;h=c248dfe7e0caa86e1cdfceddcf96649746dd171a;p=linux%2F.git ACPI: fan: Add Tiger Lake ACPI device ID 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 [ rjw: Subject & changelog, fold in another patch ] Signed-off-by: Rafael J. Wysocki --- diff --git a/drivers/acpi/device_pm.c b/drivers/acpi/device_pm.c index 5e4a8860a9c0..b64c62bfcea5 100644 --- a/drivers/acpi/device_pm.c +++ b/drivers/acpi/device_pm.c @@ -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 */ {} }; diff --git a/drivers/acpi/fan.c b/drivers/acpi/fan.c index 816b0803f7fb..13708fb48038 100644 --- a/drivers/acpi/fan.c +++ b/drivers/acpi/fan.c @@ -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}, };