From 4691c5dcf9b6ffdf86d3878c6cf0f3a99bb8e0fa Mon Sep 17 00:00:00 2001 From: Jean Delvare Date: Thu, 19 Jun 2008 08:21:55 +0000 Subject: [PATCH] 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 --- CHANGES | 1 + kernel/chips/lm90.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGES b/CHANGES index f47d9b30..f1a121bc 100644 --- a/CHANGES +++ b/CHANGES @@ -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 diff --git a/kernel/chips/lm90.c b/kernel/chips/lm90.c index e68e75cb..654a30c3 100644 --- a/kernel/chips/lm90.c +++ b/kernel/chips/lm90.c @@ -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 */