diff options
| author | Mukesh Jha <cmjha@codeaurora.org> | 2013-06-09 21:37:19 -0700 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-23 20:18:08 -0700 |
| commit | dee3ea98fc82cac4e6602ea9856f43fb62872de4 (patch) | |
| tree | 5af591276be5b2e58606a697f692e91ee1887d8f | |
| parent | e707efab3460ada3c5fff23fe46878503940b22c (diff) | |
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 <cmjha@codeaurora.org>
| -rw-r--r-- | drivers/video/fbdev/msm/mdss_mdp_pp.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |
