Changeset 1140

Show
Ignore:
Timestamp:
06/26/01 03:49:55 (12 years ago)
Author:
mds
Message:

fixed adm1025 temp2 min/max writes

Location:
lm-sensors/trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • lm-sensors/trunk/CHANGES

    r1137 r1140  
    2121  File doc/chips/adm1021: Claim support for Philips NE1617, NE1617A 
    2222  Module i2c-ali15x3: Allow force_addr=0xaddr; enable if not enabled. 
     23  Module adm1025: Fixed temp2 min/max writes 
    2324  Module w83781d: Fix fan speed for as99127f (broken by 2.6.0) 
    2425  Program sensors-detect: Fix ADM1024 and ADM1025 detection. 
  • lm-sensors/trunk/kernel/chips/adm1025.c

    r1101 r1140  
    639639        } else if (operation == SENSORS_PROC_REAL_WRITE) { 
    640640                if (*nrels_mag >= 1) { 
    641                         data->temp_max = TEMP_LIMIT_TO_REG(results[0]); 
     641                        data->rtemp_max = TEMP_LIMIT_TO_REG(results[0]); 
    642642                        adm1025_write_value(client, ADM1025_REG_RTEMP_HIGH, 
    643643                                            data->rtemp_max); 
    644644                } 
    645645                if (*nrels_mag >= 2) { 
    646                         data->temp_min = TEMP_LIMIT_TO_REG(results[1]); 
     646                        data->rtemp_min = TEMP_LIMIT_TO_REG(results[1]); 
    647647                        adm1025_write_value(client, ADM1025_REG_RTEMP_LOW, 
    648648                                            data->rtemp_min);