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

Commit ff6e3de1 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: On sharing dma pipe increment pipe ref_cnt"

parents 5ebcca59 95d5225d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -536,7 +536,7 @@ static struct mdss_mdp_pipe *mdss_mdp_pipe_init(struct mdss_mdp_mixer *mixer,
		pipe = mdata->dma_pipes + mixer->num;
		if (pipe->mixer->type != MDSS_MDP_MIXER_TYPE_WRITEBACK)
			return NULL;
		mdss_mdp_pipe_map(pipe);
		atomic_inc(&pipe->ref_cnt);
		pr_debug("pipe sharing for pipe=%d\n", pipe->num);
	} else {
		pr_err("no %d type pipes available\n", type);