2
0
mirror of https://github.com/lm-sensors/lm-sensors synced 2025-08-31 06:15:15 +00:00

Prevent misdetection of MAX6633/MAX6634/MAX6635.

git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4239 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Jean Delvare
2006-11-14 13:04:41 +00:00
parent 74053ce8b5
commit 6556dfd786
2 changed files with 4 additions and 0 deletions

View File

@@ -3368,6 +3368,9 @@ sub lm92_detect
my $low = i2c_smbus_read_word_data($file, 0x04);
my $high = i2c_smbus_read_word_data($file, 0x05);
return if $conf == 0 and $hyst == 0 and $crit == 0
and $low == 0 and $high == 0;
return if $chip == 0
and i2c_smbus_read_word_data($file, 0x07) != 0x0180;