summaryrefslogtreecommitdiffstats
path: root/Documentation/hwmon
diff options
context:
space:
mode:
authorGuenter Roeck <guenter.roeck@ericsson.com>2011-02-25 08:29:51 -0800
committerGuenter Roeck <guenter.roeck@ericsson.com>2011-03-14 22:36:25 -0700
commit4f8ab430fa5dc338ce3012c91a3c7a2685d708de (patch)
treeb8d225ae5c6f3038440aee694744bf0a778463c2 /Documentation/hwmon
parentbc6db2b5ce79b1d5c4ba2763948fa6e731d60295 (diff)
downloadop-kernel-dev-4f8ab430fa5dc338ce3012c91a3c7a2685d708de.zip
op-kernel-dev-4f8ab430fa5dc338ce3012c91a3c7a2685d708de.tar.gz
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
OpenPOWER on IntegriCloud