aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2017-06-05 00:28:29 -0400
committerMark Brown <broonie@kernel.org>2017-06-06 14:46:08 -0400
commit4579771ebb78aa26831ee3d9617690da5198072c (patch)
tree6162bce607ad2621b6e8cbb2ce21195213733083
parentaaad9c131b8fcdb493ed64e56cea8ea52977e091 (diff)
ASoC: simple-card-utils: share same dev_dbg() for Dai Name
Let's share same debug message for DAI Name Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r--sound/soc/generic/audio-graph-card.c1
-rw-r--r--sound/soc/generic/simple-card-utils.c2
-rw-r--r--sound/soc/generic/simple-card.c1
3 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/generic/audio-graph-card.c b/sound/soc/generic/audio-graph-card.c
index 1769a39a22c4..2c3a1cc01442 100644
--- a/sound/soc/generic/audio-graph-card.c
+++ b/sound/soc/generic/audio-graph-card.c
@@ -169,7 +169,6 @@ static int asoc_graph_card_dai_link_of(struct device_node *cpu_port,
169 dai_link->ops = &asoc_graph_card_ops; 169 dai_link->ops = &asoc_graph_card_ops;
170 dai_link->init = asoc_graph_card_dai_init; 170 dai_link->init = asoc_graph_card_dai_init;
171 171
172 dev_dbg(dev, "\tname : %s\n", dai_link->stream_name);
173 dev_dbg(dev, "\tcpu : %s / %d\n", 172 dev_dbg(dev, "\tcpu : %s / %d\n",
174 dai_link->cpu_dai_name, 173 dai_link->cpu_dai_name,
175 cpu_dai->sysclk); 174 cpu_dai->sysclk);
diff --git a/sound/soc/generic/simple-card-utils.c b/sound/soc/generic/simple-card-utils.c
index 59e770125596..1f08064f65b1 100644
--- a/sound/soc/generic/simple-card-utils.c
+++ b/sound/soc/generic/simple-card-utils.c
@@ -74,6 +74,8 @@ int asoc_simple_card_set_dailink_name(struct device *dev,
74 74
75 dai_link->name = name; 75 dai_link->name = name;
76 dai_link->stream_name = name; 76 dai_link->stream_name = name;
77
78 dev_dbg(dev, "name : %s\n", name);
77 } 79 }
78 80
79 return ret; 81 return ret;
diff --git a/sound/soc/generic/simple-card.c b/sound/soc/generic/simple-card.c
index d364f08a7182..1da0e2b068c3 100644
--- a/sound/soc/generic/simple-card.c
+++ b/sound/soc/generic/simple-card.c
@@ -301,7 +301,6 @@ static int asoc_simple_card_dai_link_of(struct device_node *node,
301 dai_link->ops = &asoc_simple_card_ops; 301 dai_link->ops = &asoc_simple_card_ops;
302 dai_link->init = asoc_simple_card_dai_init; 302 dai_link->init = asoc_simple_card_dai_init;
303 303
304 dev_dbg(dev, "\tname : %s\n", dai_link->stream_name);
305 dev_dbg(dev, "\tcpu : %s / %d\n", 304 dev_dbg(dev, "\tcpu : %s / %d\n",
306 dai_link->cpu_dai_name, 305 dai_link->cpu_dai_name,
307 dai_props->cpu_dai.sysclk); 306 dai_props->cpu_dai.sysclk);