From dee3ea98fc82cac4e6602ea9856f43fb62872de4 Mon Sep 17 00:00:00 2001 From: Mukesh Jha Date: Sun, 9 Jun 2013 21:37:19 -0700 Subject: msm: mdss: Fix for histogram update for dual display panel Change the array index of hist_concat to j to get the histogram updates for split-display. Change-Id: Ia5bef96bdd523aed7296017e88561f66e349acbb Signed-off-by: Mukesh Jha --- drivers/video/fbdev/msm/mdss_mdp_pp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/fbdev/msm/mdss_mdp_pp.c b/drivers/video/fbdev/msm/mdss_mdp_pp.c index 52140b24d471..963d3fbb1ec6 100644 --- a/drivers/video/fbdev/msm/mdss_mdp_pp.c +++ b/drivers/video/fbdev/msm/mdss_mdp_pp.c @@ -2549,7 +2549,7 @@ int mdss_mdp_hist_collect(struct mdss_mdp_ctl *ctl, hist_info = &mdss_pp_res->dspp_hist[dspp_num]; mutex_lock(&hist_info->hist_mutex); for (j = 0; j < HIST_V_SIZE; j++) - hist_concat[i] += hist_info->data[i]; + hist_concat[j] += hist_info->data[j]; mutex_unlock(&hist_info->hist_mutex); } hist_data_addr = hist_concat; -- cgit v1.2.3