diff options
author | Guenter Roeck <guenter.roeck@ericsson.com> | 2011-02-25 11:29:51 -0500 |
---|---|---|
committer | Guenter Roeck <guenter.roeck@ericsson.com> | 2011-03-15 01:36:25 -0400 |
commit | 4f8ab430fa5dc338ce3012c91a3c7a2685d708de (patch) | |
tree | b8d225ae5c6f3038440aee694744bf0a778463c2 /Documentation/hwmon | |
parent | bc6db2b5ce79b1d5c4ba2763948fa6e731d60295 (diff) |
hwmon: (lm85) Do not update hysteresis and temp_auto_off if auto_temp_min is changed
So far, the driver updates temp_auto_hyst and temp_auto_off if temp_auto_min changes.
This may cause problems if temp_auto_off was not configured before configuring
temp_auto_min, because one of the variables used (off_desired) is not initialized
in this case.
To simplify the code, and for consistency with other drivers, no longer update the delta
between "min" and "off" until the user sets the "off" value again.
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
Acked-by: Jean Delvare <khali@linux-fr.org>
Diffstat (limited to 'Documentation/hwmon')
0 files changed, 0 insertions, 0 deletions