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

Commit 3a9ea1ce 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: Fix error value on pipe priority mismatch"

parents 3455eee7 9a4c347a
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -856,9 +856,9 @@ static struct mdss_mdp_pipe *mdss_mdp_pipe_init(struct mdss_mdp_mixer *mixer,
		struct mdss_mdp_pipe *pool_head = pipe_pool + off;
		off += left_blend_pipe->priority - pool_head->priority + 1;
		if (off >= npipes) {
			pr_err("priority limitation. l_pipe:%d. no low priority %d pipe type available.\n",
			pr_warn("priority limitation. l_pipe:%d. no low priority %d pipe type available.\n",
				left_blend_pipe->num, type);
			return ERR_PTR(-EINVAL);
			return NULL;
		}
	}