Comment 6 for bug 2041741

Revision history for this message
Dave Jones (waveform) wrote :

@juergh Confirmed that the patch to drivers/thermal/gov_step_wise.c is indeed the root cause. In thermal_zone_trip_update, I changed:

  hyst_temp = trip.temperature

To:

  hyst_temp = trip_temp = trip.temperature;

This ensures trip_temp is not uninitialized when it's read. Also removed the (redundantly added) second call to get_tz_trend; fan operated correctly after installing recompiled kernel.