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

Commit a0d1783e authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: kgsl: Remove unnecssary call to dev_pm_opp_get_freq()"

parents 98e2f47d ce6cb275
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -892,12 +892,6 @@ static int opp_notify(struct notifier_block *nb,
		return PTR_ERR(opp);
	}

	max_freq = dev_pm_opp_get_freq(opp);
	if (!max_freq) {
		rcu_read_unlock();
		return result;
	}

	opp = dev_pm_opp_find_freq_ceil(dev, &min_freq);
	if (IS_ERR(opp))
		min_freq = pwr->pwrlevels[pwr->min_pwrlevel].gpu_freq;