diff options
author | Guenter Roeck <linux@roeck-us.net> | 2014-04-23 01:13:17 +0200 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2014-08-04 16:01:37 +0200 |
commit | a63ee9d83b960199ae111ff4e2413fbe328d32fe (patch) | |
tree | 392bfc7218b33f57d10ab85d11fada20d29acc51 /Documentation/hwmon/tmp421 | |
parent | hwmon: (g760a) Convert to devm_hwmon_device_register_with_groups (diff) | |
download | linux-a63ee9d83b960199ae111ff4e2413fbe328d32fe.tar.xz linux-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/tmp421')
-rw-r--r-- | Documentation/hwmon/tmp421 | 4 |
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: |