Loading drivers/thermal/step_wise.c +6 −0 Original line number Diff line number Diff line Loading @@ -53,6 +53,12 @@ static unsigned long get_target_state(struct thermal_instance *instance, unsigned long cur_state; unsigned long next_target; /* * If the throttle condition is not reached and there is no * previous mitigaiton request, then there is nothing to compute. */ if (!throttle && instance->target == THERMAL_NO_TARGET) return THERMAL_NO_TARGET; /* * We keep this instance the way it is by default. * Otherwise, we use the current state of the Loading Loading
drivers/thermal/step_wise.c +6 −0 Original line number Diff line number Diff line Loading @@ -53,6 +53,12 @@ static unsigned long get_target_state(struct thermal_instance *instance, unsigned long cur_state; unsigned long next_target; /* * If the throttle condition is not reached and there is no * previous mitigaiton request, then there is nothing to compute. */ if (!throttle && instance->target == THERMAL_NO_TARGET) return THERMAL_NO_TARGET; /* * We keep this instance the way it is by default. * Otherwise, we use the current state of the Loading