alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/4] ASoC: remove unnecessary dai_link->platform
@ 2023-03-23 22:53 Kuninori Morimoto
  2023-03-23 22:53 ` [PATCH v2 1/4] ASoC: fsl: " Kuninori Morimoto
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: Kuninori Morimoto @ 2023-03-23 22:53 UTC (permalink / raw)
  To: Mark Brown; +Cc: Linux-ALSA


Hi Mark

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.

v1 -> v2

	- remove the patch for simple-card
	- remove extra simple-card patch
	- add Acked-by for atmel patch

Link: https://lore.kernel.org/r/878rfyjz4p.wl-kuninori.morimoto.gx@renesas.com

Kuninori Morimoto (4):
  ASoC: fsl: remove unnecessary dai_link->platform
  ASoC: atmel: remove unnecessary dai_link->platform
  ASoC: ti: remove unnecessary dai_link->platform
  ASoC: soc-topology.c: remove unnecessary dai_link->platform

 sound/soc/atmel/atmel-classd.c |  5 +----
 sound/soc/atmel/atmel-pdmic.c  |  5 +----
 sound/soc/fsl/imx-audmix.c     | 14 ++++----------
 sound/soc/fsl/imx-spdif.c      |  5 +----
 sound/soc/soc-topology.c       |  8 ++------
 sound/soc/ti/omap-hdmi.c       |  5 +----
 6 files changed, 10 insertions(+), 32 deletions(-)

-- 
2.25.1


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2023-03-29  0:22 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-23 22:53 [PATCH v2 0/4] ASoC: remove unnecessary dai_link->platform Kuninori Morimoto
2023-03-23 22:53 ` [PATCH v2 1/4] ASoC: fsl: " Kuninori Morimoto
2023-03-23 22:53 ` [PATCH v2 2/4] ASoC: atmel: " Kuninori Morimoto
2023-03-23 22:53 ` [PATCH v2 3/4] ASoC: ti: " Kuninori Morimoto
2023-03-23 22:53 ` [PATCH v2 4/4] ASoC: soc-topology.c: " Kuninori Morimoto
2023-03-27  7:12   ` Péter Ujfalusi
2023-03-27 23:20     ` Kuninori Morimoto
2023-03-28  6:49       ` Péter Ujfalusi
2023-03-29  0:20         ` Kuninori Morimoto
2023-03-24 16:37 ` [PATCH v2 0/4] ASoC: " Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).