diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2017-06-05 07:28:45 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-06-06 21:46:08 +0300 |
commit | 8e16638256425faf74c5b9ffa40e5f0d9aa4413b (patch) | |
tree | bdac8477d96698064bf59283d625cd2acdc91605 /sound/soc/generic/simple-card-utils.c | |
parent | 4579771ebb78aa26831ee3d9617690da5198072c (diff) | |
download | linux-8e16638256425faf74c5b9ffa40e5f0d9aa4413b.tar.xz |
ASoC: simple-card-utils: share same dev_dbg() for sysclk
Let's share same debug message for sysclk
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/generic/simple-card-utils.c')
-rw-r--r-- | sound/soc/generic/simple-card-utils.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sound/soc/generic/simple-card-utils.c b/sound/soc/generic/simple-card-utils.c index 1f08064f65b1..d9d8b8a58348 100644 --- a/sound/soc/generic/simple-card-utils.c +++ b/sound/soc/generic/simple-card-utils.c @@ -113,7 +113,8 @@ EXPORT_SYMBOL_GPL(asoc_simple_card_parse_card_name); int asoc_simple_card_parse_clk(struct device *dev, struct device_node *node, struct device_node *dai_of_node, - struct asoc_simple_dai *simple_dai) + struct asoc_simple_dai *simple_dai, + const char *name) { struct clk *clk; u32 val; @@ -136,6 +137,8 @@ int asoc_simple_card_parse_clk(struct device *dev, simple_dai->sysclk = clk_get_rate(clk); } + dev_dbg(dev, "%s : sysclk = %d\n", name, simple_dai->sysclk); + return 0; } EXPORT_SYMBOL_GPL(asoc_simple_card_parse_clk); |