lm90: Fix LM86 detection. This closes ticket #2335.

git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5284 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Jean Delvare committed 2008-06-19 08:21:55 +00:00
1 parent 29a6f09c49
commit 4691c5dcf9
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -11,6 +11,7 @@ SVN-HEAD
Module i2c-piix4: Minor cleanups (2.6 backport)
Module i2c-sis5595: Minor cleanups (2.6 backport)
Module lm75: Fix an incorrect comment (2.6 backport)
Module lm90: Fix LM86 detection (#2335)
Module w83l785ts: Don't ask user to report failures (2.6 backport)
Program fancontrol: Don't use named pipes when we don't need them (#2319)
Program sensord: Add lm90, adm1032, lm99, lm86, max6657, adt7461 support
+1 -1
View File
@@ -424,7 +424,7 @@ static int lm90_detect(struct i2c_adapter *adapter, int address,
kind = lm99;
else if (address == 0x4C
&& (chip_id & 0xF0) == 0x10) /* LM86 */
kind = lm99;
kind = lm86;
}
} else
if (man_id == 0x41) { /* Analog Devices */