projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2679ab0
)
rk3188: add setting rate in dump clocks
author
chenxing
<chenxing@rock-chips.com>
Wed, 10 Jul 2013 10:59:22 +0000
(18:59 +0800)
committer
chenxing
<chenxing@rock-chips.com>
Wed, 10 Jul 2013 10:59:39 +0000
(18:59 +0800)
arch/arm/mach-rk3188/clock_data.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-rk3188/clock_data.c
b/arch/arm/mach-rk3188/clock_data.c
index 10ddea3c72ea6f70f81bbbb6efc580bb175c5115..2f010a80bc5612c88f8ebb280467826b8bb3368a 100755
(executable)
--- a/
arch/arm/mach-rk3188/clock_data.c
+++ b/
arch/arm/mach-rk3188/clock_data.c
@@
-3841,6
+3841,9
@@
static void dump_clock(struct seq_file *s, struct clk *clk, int deep, const stru
if (clk->parent)
seq_printf(s, " parent = %s", clk->parent->name);
+ if (clk->last_set_rate != 0)
+ seq_printf(s, " [set %lu Hz]", clk->last_set_rate);
+
seq_printf(s, "\n");
list_for_each_entry(ck, root_clocks, node) {