diff options
| -rw-r--r-- | drivers/video/fbdev/msm/mdss_mdp_pipe.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/video/fbdev/msm/mdss_mdp_pipe.c b/drivers/video/fbdev/msm/mdss_mdp_pipe.c index 3f75053a46b0..ade9f0d44e81 100644 --- a/drivers/video/fbdev/msm/mdss_mdp_pipe.c +++ b/drivers/video/fbdev/msm/mdss_mdp_pipe.c @@ -345,6 +345,8 @@ static struct mdss_mdp_pipe *mdss_mdp_pipe_init(struct mdss_mdp_mixer *mixer, * shared as long as its attached to a writeback mixer */ pipe = mdata->dma_pipes + mixer->num; + if (pipe->mixer->type != MDSS_MDP_MIXER_TYPE_WRITEBACK) + return NULL; mdss_mdp_pipe_map(pipe); pr_debug("pipe sharing for pipe=%d\n", pipe->num); } else { |
