Searched hist:"4 ad40cc5" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/hwmon/ |
H A D | lm75.c | 4ad40cc5 Thu Dec 04 11:58:15 CST 2014 Guenter Roeck <linux@roeck-us.net> 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> 4ad40cc5 Thu Dec 04 11:58:15 CST 2014 Guenter Roeck <linux@roeck-us.net> 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>
|