fix bug in lm84 and gl523sm support; driver would recognize the

chip and then return an error code anyway.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1058 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Mark D. Studebaker committed 2001-04-04 23:12:34 +00:00
1 parent 6c52f4b47f
commit b7ade0b926
2 files changed
+7

No files matched your search

+1
View File
@@ -34,6 +34,7 @@ ask CVS about it:
Include file sensors.h: Most contents moved to i2c-proc.h in i2c package
Library: Fix/standardize some lm87 and mtp008 entries
Chip Modules (all ISA): Remove #include "i2c-isa.h"
Module adm1021: Fix lm84 and gl523sm support
Module i2c-i801: Chip detection cleanup
Module i2c-i810: Fixed i2c_i810_init() not found in patched kernel
Module lm78: Recognize chipid=0x20
+6
View File
@@ -296,6 +296,12 @@ static int adm1021_detect(struct i2c_adapter *adapter, int address,
} else if (kind == thmc10) {
type_name = "thmc10";
client_name = "THMC10 chip";
} else if (kind == lm84) {
type_name = "lm84";
client_name = "LM84 chip";
} else if (kind == gl523sm) {
type_name = "gl523sm";
client_name = "GL523SM chip";
} else {
#ifdef DEBUG
printk("adm1021.o: Internal error: unknown kind (%d)?!?",