diff --git a/CHANGES b/CHANGES index ace0dc95..34b3ba24 100644 --- a/CHANGES +++ b/CHANGES @@ -16,6 +16,10 @@ ask CVS about it: cvs diff -r V2-0-0 -r V2-0-1 -u ----------------------------------------------------------------------------- + +2.8.2 (2004????) + Module it87: Fix sg_tlx /proc entries + 2.8.2 (20031211) IMPORTANT: Limit initialization removed from all chip drivers! If you didn't run 'sensors -s' in the past you may need to now! @@ -50,6 +54,7 @@ ask CVS about it: add it87 sensor type support Module lm90: Add ADM1032 support Module w83781d: Fix 791d and 627hf detection + Module w83627hf: Add VID support Program dmidecode: Remove (sensors-detect doesn't need it anymore) Program eeprog: New Programs i2cdetect, i2cdump, i2cset: add -v (version) option; diff --git a/kernel/chips/it87.c b/kernel/chips/it87.c index 17fd944c..6783811f 100644 --- a/kernel/chips/it87.c +++ b/kernel/chips/it87.c @@ -888,23 +888,23 @@ void it87_sgtl(struct i2c_client *client, int operation, int ctl_name, } else if (operation == SENSORS_PROC_REAL_WRITE) { if (*nrels_mag >= 1) { data->sg_tl[nr - 1][0] = TEMP_TO_REG(results[0]); - it87_write_value(client, IT87_REG_SG_TL_OFF(nr), data->sg_pwm[nr - 1][0]); + it87_write_value(client, IT87_REG_SG_TL_OFF(nr), data->sg_tl[nr - 1][0]); } if (*nrels_mag >= 2) { data->sg_tl[nr - 1][1] = TEMP_TO_REG(results[1]); - it87_write_value(client, IT87_REG_SG_TL_LOW(nr), data->sg_pwm[nr - 1][1]); + it87_write_value(client, IT87_REG_SG_TL_LOW(nr), data->sg_tl[nr - 1][1]); } if (*nrels_mag >= 3) { data->sg_tl[nr - 1][2] = TEMP_TO_REG(results[2]); - it87_write_value(client, IT87_REG_SG_TL_MED(nr), data->sg_pwm[nr - 1][2]); + it87_write_value(client, IT87_REG_SG_TL_MED(nr), data->sg_tl[nr - 1][2]); } if (*nrels_mag >= 4) { data->sg_tl[nr - 1][3] = TEMP_TO_REG(results[3]); - it87_write_value(client, IT87_REG_SG_TL_HI(nr), data->sg_pwm[nr - 1][3]); + it87_write_value(client, IT87_REG_SG_TL_HI(nr), data->sg_tl[nr - 1][3]); } if (*nrels_mag >= 5) { data->sg_tl[nr - 1][4] = TEMP_TO_REG(results[4]); - it87_write_value(client, IT87_REG_SG_TL_OVR(nr), data->sg_pwm[nr - 1][4]); + it87_write_value(client, IT87_REG_SG_TL_OVR(nr), data->sg_tl[nr - 1][4]); } } }