(mds) fix as99127f detection again.

git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@630 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Mark D. Studebaker committed 1999-11-14 17:45:29 +00:00
1 parent 7397fcbf24
commit 431bc93826
1 file changed
+1 -1
+1 -1
View File
@@ -1300,7 +1300,7 @@ sub w83781d_detect
my ($reg1,$reg2,@res);
my ($chip,$file,$addr) = @_;
return unless (i2c_smbus_read_byte_data($file,0x48) == $addr)
and ($chip < 4);
or ($chip == 4);
$reg1 = i2c_smbus_read_byte_data($file,0x4e);
$reg2 = i2c_smbus_read_byte_data($file,0x4f);
if ($chip < 4) {