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

Commit 40de9577 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: Allow AD register programming in AD calibration mode"

parents 609d987f 2fef1363
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -1529,6 +1529,9 @@ static int pp_dspp_setup(u32 disp_num, struct mdss_mdp_mixer *mixer)
		pp_sts_set_split_bits(&pp_sts->pgc_sts, pgc_config->flags);
	}

	pp_dspp_opmode_config(ctl, dspp_num, pp_sts, mdata->mdp_rev, &opmode);

flush_exit:
	if (ad_hw) {
		mutex_lock(&ad->lock);
		ad_flags = ad->reg_sts;
@@ -1543,8 +1546,6 @@ static int pp_dspp_setup(u32 disp_num, struct mdss_mdp_mixer *mixer)
		mutex_unlock(&ad->lock);
	}

	pp_dspp_opmode_config(ctl, dspp_num, pp_sts, mdata->mdp_rev, &opmode);
flush_exit:
	writel_relaxed(opmode, base + MDSS_MDP_REG_DSPP_OP_MODE);

	if (dspp_num == MDSS_MDP_DSPP3)