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

Commit 015d3dc8 authored by Alan Kwong's avatar Alan Kwong Committed by Narendra Muppalla
Browse files

msm: sde: return success if no callback function in r1 ctl



Return success for sde_mdp_display_wait4comp if no callback
is setup in order to avoid returning non-zero error code.

CRs-Fixed: 1097957
Change-Id: Ic1fb20052a293878df09cd4f23cf3abe324cfbd3
Signed-off-by: default avatarAlan Kwong <akwong@codeaurora.org>
parent 28d443c0
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -167,7 +167,7 @@ int sde_mdp_mixer_pipe_update(struct sde_mdp_pipe *pipe,


int sde_mdp_display_wait4comp(struct sde_mdp_ctl *ctl)
int sde_mdp_display_wait4comp(struct sde_mdp_ctl *ctl)
{
{
	int ret;
	int ret = 0;


	if (!ctl) {
	if (!ctl) {
		SDEROT_ERR("invalid ctl\n");
		SDEROT_ERR("invalid ctl\n");