Guenter Roeck 4ad40cc568 hwmon: (lm75) Strengthen detect function
A chip returning 0x00 in all registers is erroneously detected
as LM75. Check hysteresis and temperature limit registers and
abort if both are 0 to reduce the likelyhood for this to happen.

Reviewed-by: Rob Coulson <rob.coulson@gmail.com>
Reviewed-by: Jean Delvare <jdelvare@suse.de>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2014-12-05 10:18:02 -08:00
..
2013-10-18 09:12:02 -07:00
2013-10-18 09:12:02 -07:00
2014-01-29 20:40:08 +01:00
2014-08-04 07:01:35 -07:00
2013-08-27 08:28:01 -07:00
2014-07-23 15:01:44 -07:00
2014-04-04 18:01:35 +02:00
2014-08-04 07:01:36 -07:00
2013-03-18 21:19:49 +01:00
2014-08-05 19:44:42 -07:00
2014-08-04 07:01:35 -07:00
2014-08-04 07:01:35 -07:00
2014-08-04 07:01:35 -07:00
2014-11-30 20:13:13 -08:00
2014-01-29 20:40:08 +01:00
2013-08-11 22:10:39 -07:00
2014-11-30 20:13:13 -08:00
2014-01-29 20:40:08 +01:00
2012-11-28 11:49:40 -08:00
2012-11-28 11:49:40 -08:00
2014-01-29 20:40:08 +01:00
2014-01-29 20:40:08 +01:00