summaryrefslogtreecommitdiff
path: root/Documentation/hwmon
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2014-04-22 16:13:17 -0700
committerGuenter Roeck <linux@roeck-us.net>2014-08-04 07:01:37 -0700
commita63ee9d83b960199ae111ff4e2413fbe328d32fe (patch)
tree392bfc7218b33f57d10ab85d11fada20d29acc51 /Documentation/hwmon
parente47c39b3a8299e2d84d9e3ca5e591bc5055dd1d8 (diff)
downloadlwn-a63ee9d83b960199ae111ff4e2413fbe328d32fe.tar.gz
lwn-a63ee9d83b960199ae111ff4e2413fbe328d32fe.zip
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>
Diffstat (limited to 'Documentation/hwmon')
-rw-r--r--Documentation/hwmon/tmp4214
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/hwmon/tmp421 b/Documentation/hwmon/tmp421
index 0cf07f824741..d0e77143077f 100644
--- a/Documentation/hwmon/tmp421
+++ b/Documentation/hwmon/tmp421
@@ -8,11 +8,11 @@ Supported chips:
Datasheet: http://focus.ti.com/docs/prod/folders/print/tmp421.html
* Texas Instruments TMP422
Prefix: 'tmp422'
- Addresses scanned: I2C 0x2a, 0x4c, 0x4d, 0x4e and 0x4f
+ Addresses scanned: I2C 0x4c, 0x4d, 0x4e and 0x4f
Datasheet: http://focus.ti.com/docs/prod/folders/print/tmp421.html
* Texas Instruments TMP423
Prefix: 'tmp423'
- Addresses scanned: I2C 0x2a, 0x4c, 0x4d, 0x4e and 0x4f
+ Addresses scanned: I2C 0x4c and 0x4d
Datasheet: http://focus.ti.com/docs/prod/folders/print/tmp421.html
Authors: