mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-12 16:50:15 +00:00
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:
1 parent
20d42fa180
commit
c1257570df
2 files changed
+2
-2
No files matched your search
@@ -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
@@ -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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user