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

Commit 99c09871 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: Rate limit hist bin error logs"

parents d0f2ea38 15d73a65
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -5319,7 +5319,7 @@ static int pp_hist_collect(struct mdp_histogram_data *hist,
		pr_err("failed to get the hist data, sum = %d\n", sum);
		ret = sum;
	} else if (expect_sum && sum != expect_sum) {
		pr_err("hist error: bin sum incorrect! (%d/%d)\n",
		pr_err_ratelimited("hist error: bin sum incorrect! (%d/%d)\n",
					sum, expect_sum);
		ret = -EINVAL;
	}
@@ -5390,7 +5390,7 @@ int mdss_mdp_hist_collect(struct mdp_histogram_data *hist)
			ret = pp_hist_collect(hist, hists[i], ctl_base,
				exp_sum, DSPP);
			if (ret)
				pr_err("hist error: dspp[%d] collect %d\n",
				pr_err_ratelimited("hist error: dspp[%d] collect %d\n",
							dspp_num, ret);
		}
		/* state of dspp histogram blocks attached to logical display