2
0
mirror of https://github.com/lm-sensors/lm-sensors synced 2025-08-31 22:35:23 +00:00

Lower confidence of the mtp008 detection.

git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5279 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Jean Delvare
2008-06-08 11:27:04 +00:00
parent 094b624194
commit d4358492e7

View File

@@ -3536,13 +3536,13 @@ sub chip_special_cases
# $_[0]: A reference to the file descriptor to access this chip.
# $_[1]: Address
# Returns: undef if not detected, (7) if detected.
# Returns: undef if not detected, (3) if detected.
# Registers used: 0x58
sub mtp008_detect
{
my ($file, $addr) = @_;
return if i2c_smbus_read_byte_data($file, 0x58) != 0xac;
return (8);
return (3);
}
# $_[0]: Chip to detect (0 = LM78, 1 = LM78-J, 2 = LM79)