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

Commit f65aabda authored by Sree Sesha Aravind Vadrevu's avatar Sree Sesha Aravind Vadrevu
Browse files

msm: mdss: Remove init phase programming



Init phase should only be programmed to a non zero value only through
a user program. Default value of zero is programmed by the driver to
avoid hardware hangs

Change-Id: Iff99394d2f3a937c5bb4456c2f7ca5669a5c732b
Signed-off-by: default avatarSree Sesha Aravind Vadrevu <svadrevu@codeaurora.org>
parent 879cdf53
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -408,10 +408,6 @@ static int __mdss_mdp_overlay_setup_scaling(struct mdss_mdp_pipe *pipe)
				rc, src, pipe->dst.h);
		return rc;
	}
	pipe->scale.init_phase_x[0] = (pipe->scale.phase_step_x[0] -
					(1 << PHASE_STEP_SHIFT)) / 2;
	pipe->scale.init_phase_y[0] = (pipe->scale.phase_step_y[0] -
					(1 << PHASE_STEP_SHIFT)) / 2;
	return rc;
}