ASoC: rsnd: show master clock rate when ADG probe
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Thu, 27 Nov 2014 08:06:03 +0000 (08:06 +0000)
committerMark Brown <broonie@kernel.org>
Wed, 3 Dec 2014 18:51:39 +0000 (18:51 +0000)
master clock rate is useful information for debug.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sh/rcar/adg.c

index fc41a0e8b09fdbdeb669ed7f46e98a4eb78bf292..14d1a71934692fb18b2155311b59a30b7cda62b1 100644 (file)
@@ -430,7 +430,7 @@ int rsnd_adg_probe(struct platform_device *pdev,
        adg->clk[CLKI]  = devm_clk_get(dev, "clk_i");
 
        for_each_rsnd_clk(clk, adg, i)
-               dev_dbg(dev, "clk %d : %p\n", i, clk);
+               dev_dbg(dev, "clk %d : %p : %ld\n", i, clk, clk_get_rate(clk));
 
        rsnd_adg_ssi_clk_init(priv, adg);