Skip to content

Commit

Permalink
thermal: int340x_thermal: fix: Update Tiger Lake ACPI device IDs
Browse files Browse the repository at this point in the history
Tiger Lake's new unique ACPI device IDs for Intel thermal driver are not
valid because of missing 'C' in the IDs. Fix the IDs by updating them.

After the update, the new IDs should now look like
INT1040 --> INTC1040
INT1043 --> INTC1043

Fixes: 9b1b553 ("thermal: int340x_thermal: Add Tiger Lake ACPI device IDs")
Cc: 5.6+ <[email protected]> # 5.6+
Suggested-by: Srinivas Pandruvada <[email protected]>
Signed-off-by: Gayatri Kammela <[email protected]>
Acked-by: Zhang Rui <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
  • Loading branch information
gkammela authored and rafaeljw committed Apr 1, 2020
1 parent d5764dc commit 26d8bec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion drivers/thermal/intel/int340x_thermal/int3400_thermal.c
Original file line number Diff line number Diff line change
Expand Up @@ -369,8 +369,8 @@ static int int3400_thermal_remove(struct platform_device *pdev)
}

static const struct acpi_device_id int3400_thermal_match[] = {
{"INT1040", 0},
{"INT3400", 0},
{"INTC1040", 0},
{}
};

Expand Down
2 changes: 1 addition & 1 deletion drivers/thermal/intel/int340x_thermal/int3403_thermal.c
Original file line number Diff line number Diff line change
Expand Up @@ -282,8 +282,8 @@ static int int3403_remove(struct platform_device *pdev)
}

static const struct acpi_device_id int3403_device_ids[] = {
{"INT1043", 0},
{"INT3403", 0},
{"INTC1043", 0},
{"", 0},
};
MODULE_DEVICE_TABLE(acpi, int3403_device_ids);
Expand Down

0 comments on commit 26d8bec

Please sign in to comment.