Re: [PATCH] hwmon: (coretemp) Initialize tmin

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxx>
> Cc: "R, Durgadoss" <durgadoss.r@xxxxxxxxx>
> Cc: Guenter Roeck <guenter.roeck@xxxxxxxxxxxx>
> Cc: Fenghua Yu <fenghua.yu@xxxxxxxxx>

Works nicely. Applied.

Thanks a lot for looking into this.

Guenter

_______________________________________________
lm-sensors mailing list
lm-sensors@xxxxxxxxxxxxxx
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors


[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux