commit | a63ee9d83b960199ae111ff4e2413fbe328d32fe | [log] [tgz] |
---|---|---|
author | Guenter Roeck <linux@roeck-us.net> | Tue Apr 22 16:13:17 2014 -0700 |
committer | Guenter Roeck <linux@roeck-us.net> | Mon Aug 04 07:01:37 2014 -0700 |
tree | 392bfc7218b33f57d10ab85d11fada20d29acc51 | |
parent | e47c39b3a8299e2d84d9e3ca5e591bc5055dd1d8 [diff] |
hwmon: (tmp421) Strengthen detect function Not all supported chips support the entire I2C address range. Only accept specific chips at the addresses supported by that chip. Check for invalid values in conversion rate and status registers. Signed-off-by: Guenter Roeck <linux@roeck-us.net> Reviewed-by: Jean Delvare <jdelvare@suse.de>