Commit aaad9c13 authored by Kuninori Morimoto's avatar Kuninori Morimoto Committed by Mark Brown

ASoC: simple-card-utils: share same dev_dbg() for DAI format

Let's share same debug message for DAI format
Signed-off-by: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent d4dbcb63
...@@ -170,7 +170,6 @@ static int asoc_graph_card_dai_link_of(struct device_node *cpu_port, ...@@ -170,7 +170,6 @@ static int asoc_graph_card_dai_link_of(struct device_node *cpu_port,
dai_link->init = asoc_graph_card_dai_init; dai_link->init = asoc_graph_card_dai_init;
dev_dbg(dev, "\tname : %s\n", dai_link->stream_name); dev_dbg(dev, "\tname : %s\n", dai_link->stream_name);
dev_dbg(dev, "\tformat : %04x\n", dai_link->dai_fmt);
dev_dbg(dev, "\tcpu : %s / %d\n", dev_dbg(dev, "\tcpu : %s / %d\n",
dai_link->cpu_dai_name, dai_link->cpu_dai_name,
cpu_dai->sysclk); cpu_dai->sysclk);
......
...@@ -51,6 +51,8 @@ int asoc_simple_card_parse_daifmt(struct device *dev, ...@@ -51,6 +51,8 @@ int asoc_simple_card_parse_daifmt(struct device *dev,
*retfmt = daifmt; *retfmt = daifmt;
dev_dbg(dev, "format : %04x\n", daifmt);
return 0; return 0;
} }
EXPORT_SYMBOL_GPL(asoc_simple_card_parse_daifmt); EXPORT_SYMBOL_GPL(asoc_simple_card_parse_daifmt);
......
...@@ -302,7 +302,6 @@ static int asoc_simple_card_dai_link_of(struct device_node *node, ...@@ -302,7 +302,6 @@ static int asoc_simple_card_dai_link_of(struct device_node *node,
dai_link->init = asoc_simple_card_dai_init; dai_link->init = asoc_simple_card_dai_init;
dev_dbg(dev, "\tname : %s\n", dai_link->stream_name); dev_dbg(dev, "\tname : %s\n", dai_link->stream_name);
dev_dbg(dev, "\tformat : %04x\n", dai_link->dai_fmt);
dev_dbg(dev, "\tcpu : %s / %d\n", dev_dbg(dev, "\tcpu : %s / %d\n",
dai_link->cpu_dai_name, dai_link->cpu_dai_name,
dai_props->cpu_dai.sysclk); dai_props->cpu_dai.sysclk);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment