Revert "ASoC: meson: axg-card: fix codec-to-codec link setup"
This reverts commit005aa9f0af
which is commit1164284270
upstream. It should not have been backported, I only looked at the "Fixes:" tag, not the changelog text itself, my fault. Reported-by: Guillaume Tucker <guillaume.tucker@collabora.com> Cc: Jerome Brunet <jbrunet@baylibre.com> Cc: Mark Brown <broonie@kernel.org> Cc: Sasha Levin <sashal@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
527c60e8b7
commit
5a54c69c4e
|
@ -586,10 +586,8 @@ static int axg_card_add_link(struct snd_soc_card *card, struct device_node *np,
|
||||||
|
|
||||||
if (axg_card_cpu_is_tdm_iface(dai_link->cpus->of_node))
|
if (axg_card_cpu_is_tdm_iface(dai_link->cpus->of_node))
|
||||||
ret = axg_card_parse_tdm(card, np, index);
|
ret = axg_card_parse_tdm(card, np, index);
|
||||||
else if (axg_card_cpu_is_codec(dai_link->cpus->of_node)) {
|
else if (axg_card_cpu_is_codec(dai_link->cpus->of_node))
|
||||||
dai_link->params = &codec_params;
|
dai_link->params = &codec_params;
|
||||||
dai_link->no_pcm = 0; /* link is not a DPCM BE */
|
|
||||||
}
|
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue