• G
    hwmon: (lm77) Do not preserve hysteresis when updating critical temp limit · 50bf4650
    Guenter Roeck 提交于
    Updating the hysteresis value when updating the critical temperature limit
    was following the rule of 'least surprise'. However, it had the undesirable
    side effect of changing the hysteresis for all other attributes, which
    defeats the purpose of least surprise. In addition, it could result in
    invalid hysteresis values if the resulting hysteresis was too large. In such
    cases the resulting hysteresis ended up changed anyway, which again defeats
    the purpose. So drop that code and document the new behavior.
    Reviewed-by: NJean Delvare <jdelvare@suse.de>
    Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
    50bf4650
lm77 1.6 KB