mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-20 19:41:47 +00:00
(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:
1 parent
7397fcbf24
commit
431bc93826
1 file changed
+1
-1
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user