Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit efb7def8 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: mdss: Move histogram complete_all after hist interrupts disabled"

parents d602804e b22f36a4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3270,13 +3270,13 @@ static int pp_hist_disable(struct pp_hist_col_info *hist_info)
		ret = -EINVAL;
		goto exit;
	}
	complete_all(&hist_info->comp);
	spin_lock_irqsave(&hist_info->hist_lock, flag);
	hist_info->col_en = false;
	hist_info->col_state = HIST_UNKNOWN;
	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);
	/* if hist v2, make sure HW is unlocked */
	if (is_hist_v2)
		writel_relaxed(0, hist_info->base);