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

Commit abd142ac authored by Kyle Yan's avatar Kyle Yan Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: vidc: Change defaults to maximum values" into msm-4.9

parents 85a08746 e2637ae6
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1053,6 +1053,10 @@ static int __get_target_freq(struct devfreq *dev, unsigned long *freq)
	if (!dev || !freq)
		return -EINVAL;

	/* Start with highest frequecy and decide correct one later*/

	ab_kbps = INT_MAX;

	gov = container_of(dev->governor,
			struct governor, devfreq_gov);
	dev->profile->get_dev_status(dev->dev.parent, &stats);
+4 −1
Original line number Diff line number Diff line
@@ -1166,7 +1166,10 @@ static unsigned long __get_clock_rate(struct clock_info *clock,
	}

	if ((!num_mbs_per_sec || !data) && num_rows) {
		freq = table[num_rows - 1].freq;

		/* When no data is given, vote for the highest frequency. */

		freq = table[0].freq;
		goto print_clk;
	}