diff options
| -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; |
