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

Commit 54e20d62 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: keep tear check enabled in LP1 power state"

parents 2ab415c7 bfbd8051
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -2461,6 +2461,9 @@ int mdss_mdp_cmd_ctx_stop(struct mdss_mdp_ctl *ctl,
	mdss_mdp_resource_control(ctl, MDP_RSRC_CTL_EVENT_STOP);

	flush_work(&ctx->pp_done_work);

	if (mdss_panel_is_power_off(panel_power_state) ||
	    mdss_panel_is_power_on_ulp(panel_power_state))
		mdss_mdp_tearcheck_enable(ctl, false);

	if (mdss_panel_is_power_on(panel_power_state)) {