Skip to content

Commit 2d7c4e1

Browse files
committed
Merge branches 'fixes' and 'thermal-intel' into next
2 parents fb4d83f + e925b5b commit 2d7c4e1

File tree

2 files changed

+18
-5
lines changed

2 files changed

+18
-5
lines changed

drivers/thermal/intel/int340x_thermal/int3400_thermal.c

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,27 @@ enum int3400_thermal_uuid {
2222
INT3400_THERMAL_PASSIVE_1,
2323
INT3400_THERMAL_ACTIVE,
2424
INT3400_THERMAL_CRITICAL,
25+
INT3400_THERMAL_ADAPTIVE_PERFORMANCE,
26+
INT3400_THERMAL_EMERGENCY_CALL_MODE,
27+
INT3400_THERMAL_PASSIVE_2,
28+
INT3400_THERMAL_POWER_BOSS,
29+
INT3400_THERMAL_VIRTUAL_SENSOR,
30+
INT3400_THERMAL_COOLING_MODE,
31+
INT3400_THERMAL_HARDWARE_DUTY_CYCLING,
2532
INT3400_THERMAL_MAXIMUM_UUID,
2633
};
2734

2835
static char *int3400_thermal_uuids[INT3400_THERMAL_MAXIMUM_UUID] = {
2936
"42A441D6-AE6A-462b-A84B-4A8CE79027D3",
3037
"3A95C389-E4B8-4629-A526-C52C88626BAE",
3138
"97C68AE7-15FA-499c-B8C9-5DA81D606E0A",
39+
"63BE270F-1C11-48FD-A6F7-3AF253FF3E2D",
40+
"5349962F-71E6-431D-9AE8-0A635B710AEE",
41+
"9E04115A-AE87-4D1C-9500-0F3E340BFE75",
42+
"F5A35014-C209-46A4-993A-EB56DE7530A1",
43+
"6ED722A7-9240-48A5-B479-31EEF723D7CF",
44+
"16CAF1B7-DD38-40ED-B1C1-1B8A1913D531",
45+
"BE84BABF-C4D4-403D-B495-3128FD44dAC1",
3246
};
3347

3448
struct int3400_thermal_priv {
@@ -299,10 +313,9 @@ static int int3400_thermal_probe(struct platform_device *pdev)
299313

300314
platform_set_drvdata(pdev, priv);
301315

302-
if (priv->uuid_bitmap & 1 << INT3400_THERMAL_PASSIVE_1) {
303-
int3400_thermal_ops.get_mode = int3400_thermal_get_mode;
304-
int3400_thermal_ops.set_mode = int3400_thermal_set_mode;
305-
}
316+
int3400_thermal_ops.get_mode = int3400_thermal_get_mode;
317+
int3400_thermal_ops.set_mode = int3400_thermal_set_mode;
318+
306319
priv->thermal = thermal_zone_device_register("INT3400 Thermal", 0, 0,
307320
priv, &int3400_thermal_ops,
308321
&int3400_thermal_params, 0, 0);

drivers/thermal/intel/intel_powerclamp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -494,7 +494,7 @@ static void start_power_clamp_worker(unsigned long cpu)
494494
struct powerclamp_worker_data *w_data = per_cpu_ptr(worker_data, cpu);
495495
struct kthread_worker *worker;
496496

497-
worker = kthread_create_worker_on_cpu(cpu, 0, "kidle_inject/%ld", cpu);
497+
worker = kthread_create_worker_on_cpu(cpu, 0, "kidle_inj/%ld", cpu);
498498
if (IS_ERR(worker))
499499
return;
500500

0 commit comments

Comments
 (0)