Minor gl518sm fan_div correction

git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@62 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Frodo Looijaard committed 1998-12-10 01:03:20 +00:00
1 parent 20d42fa180
commit c1257570df
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -559,7 +559,7 @@ void gl518_fan_div(struct i2c_client *client, int operation, int ctl_name,
old = (old & 0x3f) | (data->fan_div[1] << 6);
}
if (*nrels_mag >= 1) {
data->fan_div[1] = DIV_TO_REG(results[0]);
data->fan_div[0] = DIV_TO_REG(results[0]);
old = (old & 0xcf) | (data->fan_div[0] << 4);
gl518_write_value(client,GL518_REG_MISC,old);
}
+1 -1
View File
@@ -559,7 +559,7 @@ void gl518_fan_div(struct i2c_client *client, int operation, int ctl_name,
old = (old & 0x3f) | (data->fan_div[1] << 6);
}
if (*nrels_mag >= 1) {
data->fan_div[1] = DIV_TO_REG(results[0]);
data->fan_div[0] = DIV_TO_REG(results[0]);
old = (old & 0xcf) | (data->fan_div[0] << 4);
gl518_write_value(client,GL518_REG_MISC,old);
}