commit | 637ab157d4a94145a6c9b89113222b6c80fab54c | [log] [tgz] |
---|---|---|
author | Guenter Roeck <linux@roeck-us.net> | Mon Jul 04 08:27:38 2016 -0700 |
committer | Guenter Roeck <linux@roeck-us.net> | Thu Sep 08 21:34:14 2016 -0700 |
tree | 52f89c7dff3443ca50f071ddcadc6e857c910579 | |
parent | e8172a9381f33b6a4b16871b9149171e0113bfde [diff] |
hwmon: (lm95241) Use more accurate limits The lower temperature limit is -128 degrees C. The supported upper limits are 127.875 or 255.875 degrees C. Also, don't fail if a value outside the supported range is provided when setting a temperature limit. Instead, clamp the provided value to the available value range. Signed-off-by: Guenter Roeck <linux@roeck-us.net>