Skip to content

Commit b62c770

Browse files
gkammelarafaeljw
authored andcommitted
ACPI: Update Tiger Lake ACPI device IDs
Tiger Lake's new unique ACPI device IDs for DPTF and fan drivers are not valid as the IDs are missing 'C'. Fix the IDs by updating them. After the update, the new IDs should now look like INT1047 --> INTC1047 INT1040 --> INTC1040 INT1043 --> INTC1043 INT1044 --> INTC1044 Fixes: 55cfe6a ("ACPI: DPTF: Add Tiger Lake ACPI device IDs") Fixes: c248dfe ("ACPI: fan: Add Tiger Lake ACPI device ID") Suggested-by: Srinivas Pandruvada <[email protected]> Signed-off-by: Gayatri Kammela <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
1 parent 2ce94bc commit b62c770

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

drivers/acpi/device_pm.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1321,8 +1321,8 @@ int acpi_dev_pm_attach(struct device *dev, bool power_on)
13211321
*/
13221322
static const struct acpi_device_id special_pm_ids[] = {
13231323
{"PNP0C0B", }, /* Generic ACPI fan */
1324-
{"INT1044", }, /* Fan for Tiger Lake generation */
13251324
{"INT3404", }, /* Fan */
1325+
{"INTC1044", }, /* Fan for Tiger Lake generation */
13261326
{}
13271327
};
13281328
struct acpi_device *adev = ACPI_COMPANION(dev);

drivers/acpi/dptf/dptf_power.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,8 @@ static int dptf_power_remove(struct platform_device *pdev)
9797
}
9898

9999
static const struct acpi_device_id int3407_device_ids[] = {
100-
{"INT1047", 0},
101100
{"INT3407", 0},
101+
{"INTC1047", 0},
102102
{"", 0},
103103
};
104104
MODULE_DEVICE_TABLE(acpi, int3407_device_ids);

drivers/acpi/dptf/int340x_thermal.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,6 @@
1313

1414
#define INT3401_DEVICE 0X01
1515
static const struct acpi_device_id int340x_thermal_device_ids[] = {
16-
{"INT1040"},
17-
{"INT1043"},
18-
{"INT1044"},
19-
{"INT1047"},
2016
{"INT3400"},
2117
{"INT3401", INT3401_DEVICE},
2218
{"INT3402"},
@@ -28,6 +24,10 @@ static const struct acpi_device_id int340x_thermal_device_ids[] = {
2824
{"INT3409"},
2925
{"INT340A"},
3026
{"INT340B"},
27+
{"INTC1040"},
28+
{"INTC1043"},
29+
{"INTC1044"},
30+
{"INTC1047"},
3131
{""},
3232
};
3333

0 commit comments

Comments
 (0)