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

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

Merge "PM / EM: Micro optimization in em_pd_energy"

parents 0f080ac2 061b94ae
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -83,6 +83,9 @@ static inline unsigned long em_pd_energy(struct em_perf_domain *pd,
	struct em_cap_state *cs;
	int i, cpu;

	if (!sum_util)
		return 0;

	/*
	 * In order to predict the capacity state, map the utilization of the
	 * most utilized CPU of the performance domain to a requested frequency,