ASoC: remove unnecessary dai_link->platform
authorMark Brown <broonie@kernel.org>
Fri, 24 Mar 2023 16:36:05 +0000 (16:36 +0000)
committerMark Brown <broonie@kernel.org>
Fri, 24 Mar 2023 16:36:05 +0000 (16:36 +0000)
commit09d950723479ef0af3a317ac190a8c1fadd7343c
treec5c7e40d35d271c82bcebae4b1166fc21de7ef23
parent37b58becc1cee4d591024f2056d7ffa99c6089e0
parente7098ba9b3785d626326040d300f95fec79aa765
ASoC: remove unnecessary dai_link->platform

Merge series from Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>:

Current ASoC will ignore already connected component when binding Card.
This will happen mainly "CPU Component" is handled as "Platform Component",
which was needed before.

static int snd_soc_rtd_add_component(...)
{
...
for_each_rtd_components(rtd, i, comp) {
/* already connected */
if (comp == component)
return 0;
}
...
}

Some drivers are still using CPU or Dummy Component as Platform Component,
but these are no meaning or ignored.
This patch-set remove these.