From: Guenter Roeck Date: Mon, 12 May 2014 18:20:24 +0000 (-0700) Subject: hwmon: (emc1403) Relax hysteresis limit write checks X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~32^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ceeaa70c0fa7fbf30a0c7a2b07dc895de22583c9;p=pandora-kernel.git 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 Signed-off-by: Guenter Roeck --- Reading git-diff-tree failed