29 lines
946 B
Diff
29 lines
946 B
Diff
From 8a577768253463e964705a0c3de8b16e1c5c6fbb Mon Sep 17 00:00:00 2001
|
|
From: Ondrej Jirman <megous@megous.com>
|
|
Date: Thu, 31 Oct 2019 18:31:32 +0100
|
|
Subject: [PATCH] cpufreq: sun50i: Show detected CPU bin, for easier debugging
|
|
|
|
Useful for people running into crashes during boot, due to issues
|
|
with OPP voltages.
|
|
|
|
Signed-off-by: Ondrej Jirman <megous@megous.com>
|
|
---
|
|
drivers/cpufreq/sun50i-cpufreq-nvmem.c | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/drivers/cpufreq/sun50i-cpufreq-nvmem.c b/drivers/cpufreq/sun50i-cpufreq-nvmem.c
|
|
index 75e1bf3a0..d079e5569 100644
|
|
--- a/drivers/cpufreq/sun50i-cpufreq-nvmem.c
|
|
+++ b/drivers/cpufreq/sun50i-cpufreq-nvmem.c
|
|
@@ -104,6 +104,7 @@ static int sun50i_cpufreq_nvmem_probe(struct platform_device *pdev)
|
|
}
|
|
|
|
snprintf(name, MAX_NAME_LEN, "speed%d", speed);
|
|
+ pr_info("Using CPU speed bin %s\n", name);
|
|
|
|
for_each_possible_cpu(cpu) {
|
|
struct device *cpu_dev = get_cpu_device(cpu);
|
|
--
|
|
2.35.3
|
|
|