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

Commit 113938e5 authored by Junjie Wu's avatar Junjie Wu
Browse files

PM / devfreq: governor_cpufreq: Output device name in debug print



Governor_cpufreq can scale multiple devfreq devices together. Output
devfreq device name in debug print to distinguish requests made
for each device.

Change-Id: I2f6856b66aae87dcb28830e318d20779233308de
Signed-off-by: default avatarJunjie Wu <junjiew@codeaurora.org>
parent d411be83
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -282,7 +282,7 @@ static unsigned int cpu_to_dev_freq(struct devfreq *df, unsigned int cpu)
	freq = map->target_freq;

out:
	pr_debug("CPU%u: %d -> dev: %u\n", cpu, cpu_khz, freq);
	dev_dbg(df->dev.parent, "CPU%u: %d -> dev: %u\n", cpu, cpu_khz, freq);
	return freq;
}