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

Commit 409f8bfa 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: Use the correct bl_mfd for panel backlight info"

parents 91755c0d a936aa0b
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -2076,7 +2076,7 @@ int mdss_mdp_pp_resume(struct mdss_mdp_ctl *ctl, u32 dspp_num)
			(ad->sts & PP_STS_ENABLE)) {
			ad->last_bl = bl;
			linear_map(bl, &ad->bl_data,
				ad->bl_mfd->panel_info->bl_max,
				bl_mfd->panel_info->bl_max,
				MDSS_MDP_AD_BL_SCALE);
			pp_ad_input_write(&mdata->ad_off[dspp_num], ad);
		}
@@ -4950,7 +4950,7 @@ static int mdss_mdp_ad_setup(struct msm_fb_data_type *mfd)
			ad->calc_itr = ad->cfg.stab_itr;
			ad->sts |= PP_AD_STS_DIRTY_VSYNC;
			linear_map(bl, &ad->bl_data,
				ad->bl_mfd->panel_info->bl_max,
				bl_mfd->panel_info->bl_max,
				MDSS_MDP_AD_BL_SCALE);
		}
		ad->reg_sts |= PP_AD_STS_DIRTY_DATA;