Changeset 2055

Show
Ignore:
Timestamp:
11/14/03 21:08:37 (10 years ago)
Author:
khali
Message:

Fix a bug in detection. Could have failed to detect the chip and

still return with no error code.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lm-sensors/trunk/kernel/chips/w83781d.c

    r2034 r2055  
    971971                     || ((val1 & 0x80) && (val2 != 0x5c) && (val2 != 0x12) 
    972972                         && (val2 != 0x06)))) { 
     973                        err = -ENODEV; 
    973974                        goto ERROR1; 
    974                         err = -ENODEV; 
    975975                } 
    976976                /* If Winbond SMBus, check address at 0x48. Asus doesn't support