commit | ceeaa70c0fa7fbf30a0c7a2b07dc895de22583c9 | [log] [tgz] |
---|---|---|
author | Guenter Roeck <linux@roeck-us.net> | Mon May 12 11:20:24 2014 -0700 |
committer | Guenter Roeck <linux@roeck-us.net> | Wed May 21 16:02:24 2014 -0700 |
tree | 02fd9f156adea87cbff20b213ffd567a3260c77a | |
parent | 84899d394e755989a1cc080083080f7695c36467 [diff] |
hwmon: (emc1403) Relax hysteresis limit write checks Writing the hysteresis limit returned -ERANGE if the written hysteresis was too high or too low. Relax error check and adjust the hysteresis value to its valid range. Reviewed-by: Jean Delvare <jdelvare@suse.de> Signed-off-by: Guenter Roeck <linux@roeck-us.net>