mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-20 22:23:27 +00:00
1b147bec1a
Refresh ipq806x target patches for kernel 5.15. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
45 lines
1.6 KiB
Diff
45 lines
1.6 KiB
Diff
From 2399d181557d94ae9a2686926cd25768f132e4b4 Mon Sep 17 00:00:00 2001
|
|
From: Christian Marangi <ansuelsmth@gmail.com>
|
|
Date: Fri, 18 Mar 2022 16:12:14 +0100
|
|
Subject: [PATCH 7/9] clk: qcom: krait-cc: drop pr_info and use dev_info
|
|
|
|
Replace pr_info() with dev_info() to provide better diagnostics.
|
|
|
|
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
|
|
---
|
|
drivers/clk/qcom/krait-cc.c | 8 ++++----
|
|
1 file changed, 4 insertions(+), 4 deletions(-)
|
|
|
|
--- a/drivers/clk/qcom/krait-cc.c
|
|
+++ b/drivers/clk/qcom/krait-cc.c
|
|
@@ -391,25 +391,25 @@ static int krait_cc_probe(struct platfor
|
|
cur_rate = clk_get_rate(l2_pri_mux_clk);
|
|
aux_rate = 384000000;
|
|
if (cur_rate == qsb_rate) {
|
|
- pr_info("L2 @ QSB rate. Forcing new rate.\n");
|
|
+ dev_info(dev, "L2 @ QSB rate. Forcing new rate.\n");
|
|
cur_rate = aux_rate;
|
|
}
|
|
clk_set_rate(l2_pri_mux_clk, aux_rate);
|
|
clk_set_rate(l2_pri_mux_clk, 2);
|
|
clk_set_rate(l2_pri_mux_clk, cur_rate);
|
|
- pr_info("L2 @ %lu KHz\n", clk_get_rate(l2_pri_mux_clk) / 1000);
|
|
+ dev_info(dev, "L2 @ %lu KHz\n", clk_get_rate(l2_pri_mux_clk) / 1000);
|
|
for_each_possible_cpu(cpu) {
|
|
clk = clks[cpu];
|
|
cur_rate = clk_get_rate(clk);
|
|
if (cur_rate == qsb_rate) {
|
|
- pr_info("CPU%d @ QSB rate. Forcing new rate.\n", cpu);
|
|
+ dev_info(dev, "CPU%d @ QSB rate. Forcing new rate.\n", cpu);
|
|
cur_rate = aux_rate;
|
|
}
|
|
|
|
clk_set_rate(clk, aux_rate);
|
|
clk_set_rate(clk, 2);
|
|
clk_set_rate(clk, cur_rate);
|
|
- pr_info("CPU%d @ %lu KHz\n", cpu, clk_get_rate(clk) / 1000);
|
|
+ dev_info(dev, "CPU%d @ %lu KHz\n", cpu, clk_get_rate(clk) / 1000);
|
|
}
|
|
|
|
of_clk_add_provider(dev->of_node, krait_of_get, clks);
|