Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 43103265 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "mdss: dsi: replace deprecated pwm_config_us with pwm_config"

parents 7fc6bd58 a814fd9c
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -79,10 +79,10 @@ static void mdss_dsi_panel_bklt_pwm(struct mdss_dsi_ctrl_pdata *ctrl, int level)

	if (level == 0) {
		if (ctrl->pwm_enabled) {
			ret = pwm_config_us(ctrl->pwm_bl, level,
					ctrl->pwm_period);
			ret = pwm_config(ctrl->pwm_bl, 0,
					ctrl->pwm_period * NSEC_PER_USEC);
			if (ret)
				pr_err("%s: pwm_config_us() failed err=%d.\n",
				pr_err("%s: pwm_config() failed err=%d.\n",
						__func__, ret);
			pwm_disable(ctrl->pwm_bl);
		}