thermal: int340x_thermal: fix: Update Tiger Lake ACPI device IDs
authorGayatri Kammela <gayatri.kammela@intel.com>
Fri, 27 Mar 2020 21:28:21 +0000 (14:28 -0700)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 1 Apr 2020 11:20:21 +0000 (13:20 +0200)
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: 9b1b5535dfc9 ("thermal: int340x_thermal: Add Tiger Lake ACPI device IDs")
Cc: 5.6+ <stable@vger.kernel.org> # 5.6+
Suggested-by: Srinivas Pandruvada <srinivas.pandruvada@intel.com>
Signed-off-by: Gayatri Kammela <gayatri.kammela@intel.com>
Acked-by: Zhang Rui <rui.zhang@intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/thermal/intel/int340x_thermal/int3400_thermal.c
drivers/thermal/intel/int340x_thermal/int3403_thermal.c

index efae0c02d898b7488370e672af8c9c02650c2dac..6cad15eb9cf41136e5a2f8112a4070d569e36de7 100644 (file)
@@ -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},
        {}
 };
 
index aeece1e136a5b8a3b749e61ead84bda95a7c4307..f86cbb125e2ff31281baeac3bda7c022450240b9 100644 (file)
@@ -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);