summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenet Clark <benetc@codeaurora.org>2014-08-28 12:34:42 -0700
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-23 20:32:46 -0700
commit65555dccaf2d8e72d6a3cda344cd69d223cf6bc3 (patch)
tree1b62ef8b360ae9623dac89e523e2628034dba127
parentde1b8eea12efb0cb0be0e1d33bd1bb8ee0c7c496 (diff)
msm: mdss: Switch order of histogram completions when disabling hist
There are two completion structures associated with the histogram. When hist is being disabled, we complete_all() these structures to unblock the waiting threads, however the completes were not done in the same order as the waits. Change-Id: I0dc39d56db9b4f141b619ae41f2c896d2e84c882 Signed-off-by: Benet Clark <benetc@codeaurora.org>
-rw-r--r--drivers/video/fbdev/msm/mdss_mdp_pp.c2
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 c5790d20a891..6e8574bf57bd 100644
--- a/drivers/video/fbdev/msm/mdss_mdp_pp.c
+++ b/drivers/video/fbdev/msm/mdss_mdp_pp.c
@@ -3339,8 +3339,8 @@ static int pp_hist_disable(struct pp_hist_col_info *hist_info)
spin_unlock_irqrestore(&hist_info->hist_lock, flag);
mdss_mdp_hist_intr_req(&mdata->hist_intr,
intr_mask << hist_info->intr_shift, false);
- complete_all(&hist_info->comp);
complete_all(&hist_info->first_kick);
+ complete_all(&hist_info->comp);
/* if hist v2, make sure HW is unlocked */
if (is_hist_v2)
writel_relaxed(0, hist_info->base);