commit | f6c2dd20108c35e30e2c1f3c6142d189451a626b | [log] [tgz] |
---|---|---|
author | Guenter Roeck <linux@roeck-us.net> | Sun Jul 06 11:39:24 2014 -0700 |
committer | Guenter Roeck <linux@roeck-us.net> | Mon Jul 07 07:15:31 2014 -0700 |
tree | 85f480798ada89cfdc556c3863b653902eaae725 | |
parent | 145e74a4e5022225adb84f4e5d4fff7938475c35 [diff] |
hwmon: (emc2103) Clamp limits instead of bailing out It is customary to clamp limits instead of bailing out with an error if a configured limit is out of the range supported by the driver. This simplifies limit configuration, since the user will not typically know chip and/or driver specific limits. Reviewed-by: Jean Delvare <jdelvare@suse.de> Cc: stable@vger.kernel.org Signed-off-by: Guenter Roeck <linux@roeck-us.net>