Changeset 912

Show
Ignore:
Timestamp:
10/19/00 19:24:00 (8 years ago)
Author:
rock
Message:

(dan) Corrected inadvertent overwrite of part of cached data value.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • lm-sensors/trunk/kernel/chips/pcf8574.c

    r891 r912  
    314314                tmpstatus = data->status;                
    315315                tmpstatus = (tmpstatus & 0xf0) >> 4; 
    316                 data->status &= 0x0f; 
    317316                results[0] = tmpstatus;  
    318                 results[1] = data->status;  
     317                tmpstatus = data->status;                
     318                tmpstatus &= 0x0f; 
     319                results[1] = tmpstatus;  
    319320                *nrels_mag = 2; 
    320321        } else if (operation == SENSORS_PROC_REAL_WRITE) {