if (!((trip_index - 1) % 2) || (!est->current_trip_index) ||
((trip_index - est->current_trip_index) >= 2) ||
((trip_index - est->current_trip_index) <= -2)) {
- pr_info("%s, cur_temp:%ld, cur_trip_index:%d\n",
+ pr_debug("%s, cur_temp:%ld, cur_trip_index:%d\n",
__func__, est->cur_temp, est->current_trip_index);
thermal_zone_device_update(est->thz);
}
if (!est)
return -EINVAL;
- pr_info("therm-fan-est: %s, cur_temp:%ld", __func__, est->cur_temp);
+ pr_debug("therm-fan-est: %s, cur_temp:%ld", __func__, est->cur_temp);
cancel_delayed_work(&est->therm_fan_est_work);
est->current_trip_index = 0;
if (!est)
return -EINVAL;
- pr_info("therm-fan-est: %s, cur_temp:%ld", __func__, est->cur_temp);
+ pr_debug("therm-fan-est: %s, cur_temp:%ld", __func__, est->cur_temp);
queue_delayed_work(est->workqueue,
&est->therm_fan_est_work,