File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -95,12 +95,13 @@ void board_override_fan_control(int fan, int *temp)
9595 apu_filtered_temp = thermal_filter_get (& apu_filtered );
9696
9797 /* Note this gets the index based on the thermal sensor index */
98- f75303_get_val_mk (temp_sensors [TEMP_SENSOR_CPU ].idx , & temps_mk [1 ]);
98+ f75303_get_val_mk (temp_sensors [TEMP_SENSOR_CPU ].idx , & temps_mk [1 ]);
9999 if (thermal_params [TEMP_SENSOR_CPU ].temp_fan_off &&
100100 thermal_params [TEMP_SENSOR_CPU ].temp_fan_max ) {
101- apu_pct = thermal_fan_percent (thermal_params [TEMP_SENSOR_CPU ].temp_fan_off * 1000 ,
102- thermal_params [TEMP_SENSOR_CPU ].temp_fan_max * 1000 ,
103- temps_mk [1 ]);
101+ apu_pct = thermal_fan_percent (
102+ thermal_params [TEMP_SENSOR_CPU ].temp_fan_off * 1000 ,
103+ thermal_params [TEMP_SENSOR_CPU ].temp_fan_max * 1000 ,
104+ temps_mk [1 ]);
104105 }
105106
106107 if (thermal_params [TEMP_SENSOR_PECI ].temp_fan_off &&
@@ -112,7 +113,7 @@ void board_override_fan_control(int fan, int *temp)
112113 }
113114 pct = apu_filtered_pct ;
114115
115- // pct = MAX(apu_pct, apu_filtered_pct);
116+ /* pct = MAX(apu_pct, apu_filtered_pct);*/
116117 new_rpm = fan_percent_to_rpm (fan , pct );
117118 actual_rpm = fan_get_rpm_actual (FAN_CH (fan ));
118119
You can’t perform that action at this time.
0 commit comments