rk3188: add setting rate in dump clocks
authorchenxing <chenxing@rock-chips.com>
Wed, 10 Jul 2013 10:59:22 +0000 (18:59 +0800)
committerchenxing <chenxing@rock-chips.com>
Wed, 10 Jul 2013 10:59:39 +0000 (18:59 +0800)
arch/arm/mach-rk3188/clock_data.c

index 10ddea3c72ea6f70f81bbbb6efc580bb175c5115..2f010a80bc5612c88f8ebb280467826b8bb3368a 100755 (executable)
@@ -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) {