diff options
author | Guenter Roeck <linux@roeck-us.net> | 2014-12-04 18:58:15 +0100 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2014-12-05 19:18:02 +0100 |
commit | 4ad40cc568c5537de11092d3362f9cb287f915d9 (patch) | |
tree | d645f9b83c36b6aa231740ab1f8926f2158f7c99 /Documentation/hwmon | |
parent | hwmon: (gpio-fan) Add a shutdown handler to poweroff the fans (diff) | |
download | linux-4ad40cc568c5537de11092d3362f9cb287f915d9.tar.xz linux-4ad40cc568c5537de11092d3362f9cb287f915d9.zip |
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>
Diffstat (limited to 'Documentation/hwmon')
0 files changed, 0 insertions, 0 deletions