Message ID | 20240614211606.5896-3-ricardo.neri-calderon@linux.intel.com |
---|---|
State | Accepted |
Commit | be6bfb29c55e48567983e24aba7b6bf9a66a45ab |
Headers | show |
Series | drivers: thermal: intel: Use model-specific bitmasks for temperature registers | expand |
diff --git a/drivers/thermal/intel/intel_tcc_cooling.c b/drivers/thermal/intel/intel_tcc_cooling.c index 63696e7d7b3c..17110ffa80bb 100644 --- a/drivers/thermal/intel/intel_tcc_cooling.c +++ b/drivers/thermal/intel/intel_tcc_cooling.c @@ -20,7 +20,7 @@ static struct thermal_cooling_device *tcc_cdev; static int tcc_get_max_state(struct thermal_cooling_device *cdev, unsigned long *state) { - *state = 0x3f; + *state = intel_tcc_get_offset_mask(); return 0; }