Skip to content

Commit

Permalink
Add missing break and new line for hwmon_pwm_mode write
Browse files Browse the repository at this point in the history
Signed-off-by: Aleksa Savic <savicaleksa83@gmail.com>
  • Loading branch information
aleksamagicka committed Jul 29, 2023
1 parent f8e9dd4 commit fd6afa5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions aquacomputer_d5next.c
Original file line number Diff line number Diff line change
Expand Up @@ -1735,11 +1735,13 @@ static int aqc_write(struct device *dev, enum hwmon_sensor_types type, u32 attr,
default:
return -EINVAL;
}

ret = aqc_set_ctrl_val(priv,
priv->fan_ctrl_offsets[channel] +
AQUAERO_FAN_CTRL_MODE_OFFSET, ctrl_mode, AQC_8);
if (ret < 0)
return ret;
break;
default:
break;
}
Expand Down

0 comments on commit fd6afa5

Please sign in to comment.