Skip to content

Commit 8d5459f

Browse files
hrwrafaeljw
authored andcommitted
cpufreq: use proper units for frequency
When I booted my RK3588 based system I noticed that cpufreq complained about system clock: [ +0.007211] cpufreq: cpufreq_online: CPU0: Running at unlisted initial frequency: 816000 KHz, changing to: 1008000 KHz Then I realized that unit is displayed wrong: "KHz" instead of "kHz". Signed-off-by: Marcin Juszkiewicz <[email protected]> Acked-by: Viresh Kumar <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Rafael J. Wysocki <[email protected]>
1 parent 8198375 commit 8d5459f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/cpufreq/cpufreq.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1520,7 +1520,7 @@ static int cpufreq_online(unsigned int cpu)
15201520
* frequency for longer duration. Hence, a BUG_ON().
15211521
*/
15221522
BUG_ON(ret);
1523-
pr_info("%s: CPU%d: Running at unlisted initial frequency: %u KHz, changing to: %u KHz\n",
1523+
pr_info("%s: CPU%d: Running at unlisted initial frequency: %u kHz, changing to: %u kHz\n",
15241524
__func__, policy->cpu, old_freq, policy->cur);
15251525
}
15261526
}

0 commit comments

Comments
 (0)