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

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

Merge "adreno_tz: Correct acc_relative_busy calculation"

parents 3749e346 15b395bd
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -148,7 +148,8 @@ void compute_work_load(struct devfreq_dev_status *stats,
	 * is done when the entry is read
	 */
	acc_total += stats->total_time;
	acc_relative_busy += (stats->busy_time * stats->current_frequency) /
	acc_relative_busy += ((u64)stats->busy_time *
				stats->current_frequency) /
				devfreq->profile->freq_table[0];
	spin_unlock(&sample_lock);
}