summaryrefslogtreecommitdiff
path: root/drivers/hwmon
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2015-05-27 16:11:48 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-06-06 08:20:55 -0700
commit85fad7f5cdc3c027a87c47ce0384b30f515bf3b0 (patch)
tree7f35f5ce620ba9d1f150eb57a354166f639eb0fe /drivers/hwmon
parente8deb37e331584ba923eef712183b0ed75a6683f (diff)
downloadlwn-85fad7f5cdc3c027a87c47ce0384b30f515bf3b0.tar.gz
lwn-85fad7f5cdc3c027a87c47ce0384b30f515bf3b0.zip
hwmon: (tmp401) Do not auto-detect chip on I2C address 0x37
commit 9aecac04d8d89e730ae362a748113b19c06a9d39 upstream. I2C address 0x37 may be used by EEPROMs, which can result in false positives. Do not attempt to detect a chip at this address. Reviewed-by: Jean Delvare <jdelvare@suse.de> Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/hwmon')
-rw-r--r--drivers/hwmon/tmp401.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/tmp401.c b/drivers/hwmon/tmp401.c
index 99664ebc738d..ccf4cffe0ee1 100644
--- a/drivers/hwmon/tmp401.c
+++ b/drivers/hwmon/tmp401.c
@@ -44,7 +44,7 @@
#include <linux/sysfs.h>
/* Addresses to scan */
-static const unsigned short normal_i2c[] = { 0x37, 0x48, 0x49, 0x4a, 0x4c, 0x4d,
+static const unsigned short normal_i2c[] = { 0x48, 0x49, 0x4a, 0x4c, 0x4d,
0x4e, 0x4f, I2C_CLIENT_END };
enum chips { tmp401, tmp411, tmp431, tmp432, tmp435 };