aboutsummaryrefslogtreecommitdiffstats
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
parenthwmon: (g760a) Convert to devm_hwmon_device_register_with_groups (diff)
downloadlinux-dev-a63ee9d83b960199ae111ff4e2413fbe328d32fe.tar.xz
linux-dev-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: