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

Commit dee5ada1 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: Fix check for backlight update during continuous splash"

parents 06dedfd3 8569bf0c
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1060,8 +1060,8 @@ void mdss_fb_set_backlight(struct msm_fb_data_type *mfd, u32 bkl_lvl)
	int ret = -EINVAL;
	bool bl_notify_needed = false;

	if (((mdss_fb_is_power_off(mfd) && mfd->dcm_state != DCM_ENTER)
		|| !mfd->bl_updated) && !IS_CALIB_MODE_BL(mfd) &&
	if ((((mdss_fb_is_power_off(mfd) && mfd->dcm_state != DCM_ENTER)
		|| !mfd->bl_updated) && !IS_CALIB_MODE_BL(mfd)) ||
		mfd->panel_info->cont_splash_enabled) {
		mfd->unset_bl_level = bkl_lvl;
		return;