Skip to content

Commit

Permalink
ACPI: fan: Add Tiger Lake ACPI device ID
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Gayatri Kammela authored and Rafael J. Wysocki committed Dec 19, 2019
1 parent 55cfe6a commit c248dfe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions drivers/acpi/device_pm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
{}
};
Expand Down
1 change: 1 addition & 0 deletions drivers/acpi/fan.c
Original file line number Diff line number Diff line change
Expand Up @@ -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},
};
Expand Down

0 comments on commit c248dfe

Please sign in to comment.