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:
Jean Delvare committed 2005-12-11 09:58:01 +00:00
1 parent faf61c24c8
commit 0b298a851e
1 file changed
+1 -1
+1 -1
View File
@@ -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);