From: Jean Delvare Date: Fri, 20 Jan 2012 15:09:23 +0000 (-0500) Subject: hwmon: (f71805f) Fix clamping of temperature limits X-Git-Tag: v3.3-rc2~2^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=86b2bbfdbd1fcc4a3aa62ccd3f245c40c5ad5b85;p=pandora-kernel.git 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 Cc: stable@vger.kernel.org Signed-off-by: Guenter Roeck --- Reading git-diff-tree failed