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:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user