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

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

Merge "msm: thermal: convert cpu frequency table from Hz to kHz"

parents 14aea265 dfdad732
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1370,7 +1370,8 @@ static int get_cpu_freq_plan(int cpu,

	rcu_read_lock();
	while (!IS_ERR(opp = dev_pm_opp_find_freq_ceil(cpu_dev, &freq))) {
		freq_table_ptr[table_len].frequency = freq;
		/* Convert from Hz to kHz */
		freq_table_ptr[table_len].frequency = freq / 1000;
		pr_debug("cpu%d freq %d :%d\n", cpu, table_len,
			freq_table_ptr[table_len].frequency);
		freq++;