intelli/msm_thermal: corrected logic