Changeset 3210

Show
Ignore:
Timestamp:
12/11/05 10:58:01 (9 years ago)
Author:
khali
Message:

Fix fan control mode (PWM/DC) reporting.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lm-sensors/trunk/kernel/chips/w83792d.c

    r3209 r3210  
    817817                                                W83792D_REG_PWM[i]); 
    818818                        data->pwm[i] = pwm_array_tmp[i] & 0x0f; 
    819                         data->pwm_flag[1] = (pwm_array_tmp[i] >> 7) & 0x01; 
     819                        data->pwm_flag[i] = pwm_array_tmp[i] >> 7; 
    820820                } 
    821821                data->fan_cfg = w83792d_read_value(client, W83792D_REG_FAN_CFG);