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

Commit 9bdf4ce7 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: Check if histogram has been disabled in collect"

parents bb6c45ae 52ed6048
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -3568,7 +3568,8 @@ static int pp_hist_collect(struct mdp_histogram_data *hist,
			spin_unlock_irqrestore(&hist_info->hist_lock, flag);
			goto hist_collect_exit;
		}
		if (hist_info->col_state != HIST_READY) {
		if (hist_info->col_state != HIST_READY &&
				hist_info->col_state != HIST_UNKNOWN) {
			ret = -ENODATA;
			hist_info->col_state = HIST_READY;
			pr_debug("%s: state is not ready: %d",