mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-24 20:21:43 +00:00
Fix fan control mode (PWM/DC) reporting.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3210 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
faf61c24c8
commit
0b298a851e
1 file changed
+1
-1
@@ -816,7 +816,7 @@ static void w83792d_update_client(struct i2c_client *client)
|
||||
pwm_array_tmp[i] = w83792d_read_value(client,
|
||||
W83792D_REG_PWM[i]);
|
||||
data->pwm[i] = pwm_array_tmp[i] & 0x0f;
|
||||
data->pwm_flag[1] = (pwm_array_tmp[i] >> 7) & 0x01;
|
||||
data->pwm_flag[i] = pwm_array_tmp[i] >> 7;
|
||||
}
|
||||
data->fan_cfg = w83792d_read_value(client, W83792D_REG_FAN_CFG);
|
||||
|
||||
|
||||
Reference in new issue
Block a user