mirror of
https://github.com/andreili/SBC_builder.git
synced 2025-08-23 19:04:06 +02:00
Kernel build fix.
This commit is contained in:
parent
743bf0fe75
commit
42da8519ad
@ -1,29 +0,0 @@
|
||||
From dd65bf79988be12849efef080d4ecb86e225cd2e Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Ond=C5=99ej=20Jirman?= <megi@xff.cz>
|
||||
Date: Thu, 31 Oct 2019 18:31:32 +0100
|
||||
Subject: 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 <megi@xff.cz>
|
||||
---
|
||||
drivers/cpufreq/sun50i-cpufreq-nvmem.c | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
diff --git a/drivers/cpufreq/sun50i-cpufreq-nvmem.c b/drivers/cpufreq/sun50i-cpufreq-nvmem.c
|
||||
index 744312a44279..d8c1be2b30fb 100644
|
||||
--- a/drivers/cpufreq/sun50i-cpufreq-nvmem.c
|
||||
+++ b/drivers/cpufreq/sun50i-cpufreq-nvmem.c
|
||||
@@ -268,6 +268,8 @@ static int sun50i_cpufreq_nvmem_probe(struct platform_device *pdev)
|
||||
snprintf(name, sizeof(name), "speed%d", speed);
|
||||
config.prop_name = name;
|
||||
|
||||
+ pr_info("Using CPU speed bin %s\n", name);
|
||||
+
|
||||
for_each_present_cpu(cpu) {
|
||||
struct device *cpu_dev = get_cpu_device(cpu);
|
||||
|
||||
--
|
||||
2.35.3
|
||||
|
Loading…
x
Reference in New Issue
Block a user