Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ixr7220h6-64/modules/h6_fan_cpld.c
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ static ssize_t set_duty_cycle(struct device *dev, struct device_attribute *da,

switch (attr->index) {
case FAN1_PWM ... FAN8_PWM:
reg_val = (value * 100) / 666;
reg_val = (value * 100 + 333) / 666;
idx = (attr->index - FAN1_PWM);

mutex_lock(&data->update_lock);
Expand Down
Loading