Changeset 635
- Timestamp:
- 11/20/99 20:27:10 (14 years ago)
- Files:
-
- 1 modified
-
lm-sensors/trunk/kernel/chips/adm9240.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
lm-sensors/trunk/kernel/chips/adm9240.c
r617 r635 711 711 if (*nrels_mag >= 2) { 712 712 data->fan_div[1] = DIV_TO_REG(results[1]); 713 old = (old & 0x cf) | (data->fan_div[1] << 6);713 old = (old & 0x3f) | (data->fan_div[1] << 6); 714 714 } 715 715 if (*nrels_mag >= 1) { 716 716 data->fan_div[0] = DIV_TO_REG(results[0]); 717 old = (old & 0x 3f) | (data->fan_div[0] << 4);717 old = (old & 0xcf) | (data->fan_div[0] << 4); 718 718 adm9240_write_value(client,ADM9240_REG_VID_FAN_DIV,old); 719 719 }
