diff --git a/CHANGES b/CHANGES index 70317da9..9f036675 100644 --- a/CHANGES +++ b/CHANGES @@ -20,6 +20,7 @@ ask CVS about it: 2.6.1 (2001????) File doc/chips/adm1021: Claim support for Philips NE1617, NE1617A Module i2c-ali15x3: Allow force_addr=0xaddr; enable if not enabled. + Module adm1025: Fixed temp2 min/max writes Module w83781d: Fix fan speed for as99127f (broken by 2.6.0) Program sensors-detect: Fix ADM1024 and ADM1025 detection. diff --git a/kernel/chips/adm1025.c b/kernel/chips/adm1025.c index e043ca9c..38405e60 100644 --- a/kernel/chips/adm1025.c +++ b/kernel/chips/adm1025.c @@ -638,12 +638,12 @@ void adm1025_rm_temp(struct i2c_client *client, int operation, int ctl_name, *nrels_mag = 3; } else if (operation == SENSORS_PROC_REAL_WRITE) { if (*nrels_mag >= 1) { - data->temp_max = TEMP_LIMIT_TO_REG(results[0]); + data->rtemp_max = TEMP_LIMIT_TO_REG(results[0]); adm1025_write_value(client, ADM1025_REG_RTEMP_HIGH, data->rtemp_max); } if (*nrels_mag >= 2) { - data->temp_min = TEMP_LIMIT_TO_REG(results[1]); + data->rtemp_min = TEMP_LIMIT_TO_REG(results[1]); adm1025_write_value(client, ADM1025_REG_RTEMP_LOW, data->rtemp_min); }