commit | 86b2bbfdbd1fcc4a3aa62ccd3f245c40c5ad5b85 | [log] [tgz] |
---|---|---|
author | Jean Delvare <khali@linux-fr.org> | Fri Jan 20 10:09:23 2012 -0500 |
committer | Guenter Roeck <guenter.roeck@ericsson.com> | Fri Jan 20 09:05:35 2012 -0800 |
tree | 7507ea89b03997fc955eb781f9a4347f353796bb | |
parent | dcd6c92267155e70a94b3927bce681ce74b80d1f [diff] |
hwmon: (f71805f) Fix clamping of temperature limits Properly clamp temperature limits set by the user. Without this fix, attempts to write temperature limits above the maximum supported by the chip (255 degrees Celsius) would arbitrarily and unexpectedly result in the limit being set to 0 degree Celsius. Signed-off-by: Jean Delvare <khali@linux-fr.org> Cc: stable@vger.kernel.org Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>