[lm-sensors] [PATCH] hwmon: (coretemp) Initialize tmin

Guenter Roeck guenter.roeck at ericsson.com
Wed Sep 14 13:15:36 CEST 2011

On Wed, Sep 14, 2011 at 04:43:07AM -0400, Jean Delvare wrote:
> ttarget is initialized when the driver is loaded, but tmin is not.
> As a result, tempX_max_hyst attributes read 0. Fix this.
> Also use THERM_*_THRESHOLD* constants in these initializations instead
> of hard-coding the constants.
> Signed-off-by: Jean Delvare <khali at linux-fr.org>
> Cc: "R, Durgadoss" <durgadoss.r at intel.com>
> Cc: Guenter Roeck <guenter.roeck at ericsson.com>
> Cc: Fenghua Yu <fenghua.yu at intel.com>

Works nicely. Applied.

Thanks a lot for looking into this.


More information about the lm-sensors mailing list