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

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

Merge "drivers: thermal: cpu-cooling: Fix random cpu frequency min request"

parents dadf9e3d 2c76c27d
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1028,6 +1028,9 @@ __cpufreq_cooling_register(struct device_node *np,
			pr_debug("%s: freq:%u KHz\n", __func__, freq);
	}

	/* Max level index is for core isolation, set this level as zero */
	cpufreq_cdev->freq_table[cpufreq_cdev->max_level].frequency = 0;

	if (capacitance) {
		cpufreq_cdev->plat_get_static_power = plat_static_func;