DAI and CELL not used in macros.
In v5.2: commit 8f7f298a333761a528e103cda3b42f3a416ad1ee Author: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Date: Wed Mar 20 13:56:36 2019 +0900 ASoC: simple-card-utils: separate asoc_simple_card_parse_dai()
This commit is contained in:
parent
b9272dcee8
commit
72d3c9e2f6
1 changed files with 3 additions and 4 deletions
|
@ -321,13 +321,12 @@ static int seeed_voice_card_dai_link_of(struct device_node *node,
|
||||||
|
|
||||||
of_property_read_u32(node, "mclk-fs", &dai_props->mclk_fs);
|
of_property_read_u32(node, "mclk-fs", &dai_props->mclk_fs);
|
||||||
|
|
||||||
ret = asoc_simple_parse_cpu(cpu, dai_link,
|
ret = asoc_simple_parse_cpu(cpu, dai_link, &single_cpu);
|
||||||
DAI, CELL, &single_cpu);
|
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
goto dai_link_of_err;
|
goto dai_link_of_err;
|
||||||
|
|
||||||
#if _SINGLE_CODEC
|
#if _SINGLE_CODEC
|
||||||
ret = asoc_simple_parse_codec(codec, dai_link, DAI, CELL);
|
ret = asoc_simple_parse_codec(codec, dai_link);
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
goto dai_link_of_err;
|
goto dai_link_of_err;
|
||||||
#else
|
#else
|
||||||
|
@ -339,7 +338,7 @@ static int seeed_voice_card_dai_link_of(struct device_node *node,
|
||||||
dev_dbg(dev, "dai_link num_codecs = %d\n", dai_link->num_codecs);
|
dev_dbg(dev, "dai_link num_codecs = %d\n", dai_link->num_codecs);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
ret = asoc_simple_parse_platform(plat, dai_link, DAI, CELL);
|
ret = asoc_simple_parse_platform(plat, dai_link);
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
goto dai_link_of_err;
|
goto dai_link_of_err;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue