Commit 2d82eeb0 authored by Kuninori Morimoto's avatar Kuninori Morimoto Committed by Mark Brown

ASoC: simple-card: use asoc_simple_xxx prefix

simple-card driver is using asoc_simple_xxx() prefix.
simple_card_dai_link_of() should be
asoc_simple_card_dai_link_of().
Signed-off-by: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 8ea21348
...@@ -163,7 +163,7 @@ asoc_simple_card_sub_parse_of(struct device_node *np, ...@@ -163,7 +163,7 @@ asoc_simple_card_sub_parse_of(struct device_node *np,
return 0; return 0;
} }
static int simple_card_dai_link_of(struct device_node *node, static int asoc_simple_card_dai_link_of(struct device_node *node,
struct device *dev, struct device *dev,
struct snd_soc_dai_link *dai_link, struct snd_soc_dai_link *dai_link,
struct simple_dai_props *dai_props, struct simple_dai_props *dai_props,
...@@ -337,16 +337,18 @@ static int asoc_simple_card_parse_of(struct device_node *node, ...@@ -337,16 +337,18 @@ static int asoc_simple_card_parse_of(struct device_node *node,
int i; int i;
for (i = 0; (np = of_get_next_child(node, np)); i++) { for (i = 0; (np = of_get_next_child(node, np)); i++) {
dev_dbg(dev, "\tlink %d:\n", i); dev_dbg(dev, "\tlink %d:\n", i);
ret = simple_card_dai_link_of(np, dev, dai_link + i, ret = asoc_simple_card_dai_link_of(np, dev,
dai_props + i, false); dai_link + i,
dai_props + i,
false);
if (ret < 0) { if (ret < 0) {
of_node_put(np); of_node_put(np);
return ret; return ret;
} }
} }
} else { } else {
ret = simple_card_dai_link_of(node, dev, dai_link, dai_props, ret = asoc_simple_card_dai_link_of(node, dev,
true); dai_link, dai_props, true);
if (ret < 0) if (ret < 0)
return ret; return ret;
} }
......
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