未验证 提交 f46da1b9 编写于 作者: K Kuninori Morimoto 提交者: Mark Brown

ASoC: ti: davinci-evm: don't select unnecessary Platform

ALSA SoC is now supporting "no Platform". Sound card doesn't need to
select "CPU component" as "Platform" anymore if it doesn't need
special Platform.
This patch removes such settings.
Signed-off-by: NKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: NMark Brown <broonie@kernel.org>
上级 567b374d
...@@ -356,8 +356,7 @@ static struct snd_soc_card da850_snd_soc_card = { ...@@ -356,8 +356,7 @@ static struct snd_soc_card da850_snd_soc_card = {
*/ */
SND_SOC_DAILINK_DEFS(evm, SND_SOC_DAILINK_DEFS(evm,
DAILINK_COMP_ARRAY(COMP_EMPTY()), DAILINK_COMP_ARRAY(COMP_EMPTY()),
DAILINK_COMP_ARRAY(COMP_CODEC(NULL, "tlv320aic3x-hifi")), DAILINK_COMP_ARRAY(COMP_CODEC(NULL, "tlv320aic3x-hifi")));
DAILINK_COMP_ARRAY(COMP_EMPTY()));
static struct snd_soc_dai_link evm_dai_tlv320aic3x = { static struct snd_soc_dai_link evm_dai_tlv320aic3x = {
.name = "TLV320AIC3X", .name = "TLV320AIC3X",
...@@ -411,8 +410,6 @@ static int davinci_evm_probe(struct platform_device *pdev) ...@@ -411,8 +410,6 @@ static int davinci_evm_probe(struct platform_device *pdev)
if (!dai->cpus->of_node) if (!dai->cpus->of_node)
return -EINVAL; return -EINVAL;
dai->platforms->of_node = dai->cpus->of_node;
evm_soc_card.dev = &pdev->dev; evm_soc_card.dev = &pdev->dev;
ret = snd_soc_of_parse_card_name(&evm_soc_card, "ti,model"); ret = snd_soc_of_parse_card_name(&evm_soc_card, "ti,model");
if (ret) if (ret)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册