(mds) Fixed bug introduced with thmc10 that made adm1021 get reported

as a max1617. Thanks Phil.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@536 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Mark D. Studebaker committed 1999-08-24 02:27:57 +00:00
1 parent 36c650c50d
commit e3ea230c90
1 file changed
+1 -1
+1 -1
View File
@@ -242,7 +242,7 @@ static int adm1021_detect(struct i2c_adapter *adapter, int address, int kind)
i = adm1021_read_value(new_client,ADM1021_REG_MAN_ID);
if (i == 0x41)
kind = adm1021;
if (i == 0x49)
else if (i == 0x49)
kind = thmc10;
else if ((i== 0x4d) &&
(adm1021_read_value(new_client,ADM1021_REG_DEV_ID) == 0x01))