summaryrefslogtreecommitdiff
path: root/drivers/video/fbdev
diff options
context:
space:
mode:
authorSree Sesha Aravind Vadrevu <svadrevu@codeaurora.org>2013-07-22 14:47:02 -0700
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-23 20:19:18 -0700
commit66f2ea0ce6430c75438628d51482596112d7730b (patch)
tree2f214a46ff8706f43bcb6cd410c261a80a2930b1 /drivers/video/fbdev
parent0369cffb8b5cb174eea3fa7166c1dd8a0e6bae2e (diff)
msm: mdss: Fix the ctx num for virtual ctl
When virtual ctl is allocated during simultaneous wb line and block mode operation, the virtual ctl num should be the same as original ctl. This is essential for color space conversion programing. Change-Id: I1294a8f813e5b534cf10f9d4f721b42ce0bb6141 Signed-off-by: Sree Sesha Aravind Vadrevu <svadrevu@codeaurora.org>
Diffstat (limited to 'drivers/video/fbdev')
-rw-r--r--drivers/video/fbdev/msm/mdss_mdp_ctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/fbdev/msm/mdss_mdp_ctl.c b/drivers/video/fbdev/msm/mdss_mdp_ctl.c
index b5a5383620c2..f44ebaf2cdac 100644
--- a/drivers/video/fbdev/msm/mdss_mdp_ctl.c
+++ b/drivers/video/fbdev/msm/mdss_mdp_ctl.c
@@ -1337,7 +1337,7 @@ int mdss_mdp_ctl_addr_setup(struct mdss_data_type *mdata,
* writeback block
*/
head[len] = head[len - 1];
- head[len].num = -1;
+ head[len].num = head[len - 1].num;
}
mdata->ctl_off = head;