msm: mdss: Use the correct bl_mfd for panel backlight info
Get the panel backlight info from the correct bl_mfd. Change-Id: Icc4568eb4ae9f4091f7ccf5f60e97bfd7f745420 Signed-off-by: Ping Li <pingli@codeaurora.org>
This commit is contained in:
parent
0fa49a06e4
commit
a932f10e62
1 changed files with 2 additions and 2 deletions
|
@ -2120,7 +2120,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);
|
||||
}
|
||||
|
@ -5382,7 +5382,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;
|
||||
|
|
Loading…
Add table
Reference in a new issue