commit | e3d982034dd74b32f621fcba7adeb77716fa0fb4 | [log] [tgz] |
---|---|---|
author | Jean Delvare <jdelvare@suse.de> | Sat Jan 24 14:16:21 2015 +0100 |
committer | Jean Delvare <jdelvare@suse.de> | Sat Jan 24 14:16:21 2015 +0100 |
tree | 99f2e1e28040114aba4901b2dc2c052c49d5c79f | |
parent | b8d48ce9519b21021e5875dce1a69f2941b17d1e [diff] |
hwmon: (i5500_temp) Don't bind to disabled sensors On many motherboards, for an unknown reason, the thermal sensor seems to be disabled and will return a constant temperature value of 36.5 degrees Celsius. Don't bind to the device in that case, so that we don't report this bogus value to userspace. Signed-off-by: Jean Delvare <jdelvare@suse.de> Cc: Romain Dolbeau <romain@dolbeau.org> Reviewed-by: Guenter Roeck <linux@roeck-us.net>