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

Commit 33cc10c3 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: Correction in cyclical reading of histogram bins"

parents c99a0818 51a34d30
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2819,7 +2819,7 @@ static void pp_hist_read(char __iomem *v_addr,
	hist_info->data[i_start] = data & 0xFFFFFF;
	for (i = i_start + 1; i < HIST_V_SIZE; i++)
		hist_info->data[i] = readl_relaxed(v_addr) & 0xFFFFFF;
	for (i = 0; i < i_start - 1; i++)
	for (i = 0; i < i_start; i++)
		hist_info->data[i] = readl_relaxed(v_addr) & 0xFFFFFF;
	hist_info->hist_cnt_read++;
}