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

Commit 06c28b5d authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "cpufreq: qcom-hw: use no_log when reading cpu counter val"

parents c578c416 e7ad34bb
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -71,7 +71,8 @@ static u64 qcom_cpufreq_get_cpu_cycle_counter(int cpu)
	spin_lock_irqsave(&cpu_counter->lock, flags);

	offset = CYCLE_CNTR_OFFSET(cpu, &cpu_domain->related_cpus);
	val = readl_relaxed(cpu_domain->reg_bases[REG_CYCLE_CNTR] + offset);
	val = readl_relaxed_no_log(cpu_domain->reg_bases[REG_CYCLE_CNTR] +
				   offset);

	if (val < cpu_counter->prev_cycle_counter) {
		/* Handle counter overflow */