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

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

Merge "msm: mdss: initialize AD calibration bl to current bl level"

parents c781a665 a79b64cc
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -5940,6 +5940,9 @@ int mdss_mdp_calib_mode(struct msm_fb_data_type *mfd,
		return -EINVAL;
	mutex_lock(&mdss_pp_mutex);
	mfd->calib_mode = cfg->calib_mask;
	mutex_lock(&mfd->bl_lock);
	mfd->calib_mode_bl = mfd->bl_level;
	mutex_unlock(&mfd->bl_lock);
	mutex_unlock(&mdss_pp_mutex);
	return 0;
}