All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
To: Mark Brown <broonie@kernel.org>
Cc: Linux-ALSA <alsa-devel@alsa-project.org>
Subject: [PATCH 0/6] ASoC: remove unnecessary dai_link->platform
Date: Wed, 15 Mar 2023 06:40:39 +0000	[thread overview]
Message-ID: <878rfyjz4p.wl-kuninori.morimoto.gx@renesas.com> (raw)


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.

Kuninori Morimoto (6):
  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
  ASoC: simple-card-utils.c: remove unnecessary dai_link->platform
  ASoC: simple-card.c: add missing of_node_put()

 include/sound/simple_card_utils.h     |  2 --
 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/generic/audio-graph-card.c  |  6 ----
 sound/soc/generic/audio-graph-card2.c |  9 ++----
 sound/soc/generic/simple-card-utils.c |  9 ------
 sound/soc/generic/simple-card.c       | 41 ++++++++++++++++-----------
 sound/soc/soc-topology.c              |  8 ++----
 sound/soc/ti/omap-hdmi.c              |  5 +---
 11 files changed, 36 insertions(+), 73 deletions(-)

-- 
2.25.1


             reply	other threads:[~2023-03-15  6:44 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-15  6:40 Kuninori Morimoto [this message]
2023-03-15  6:41 ` [PATCH 1/6] ASoC: fsl: remove unnecessary dai_link->platform Kuninori Morimoto
2023-03-15  6:41 ` [PATCH 2/6] ASoC: atmel: " Kuninori Morimoto
2023-03-15  9:39   ` Nicolas Ferre via Alsa-devel
2023-03-15  6:42 ` [PATCH 3/6] ASoC: ti: " Kuninori Morimoto
2023-03-20 17:49   ` Mark Brown
2023-03-15  6:42 ` [PATCH 4/6] ASoC: soc-topology.c: " Kuninori Morimoto
2023-03-15  6:42 ` [PATCH 5/6] ASoC: simple-card-utils.c: " Kuninori Morimoto
2023-03-20 20:56   ` Mark Brown
2023-03-22  0:13     ` Kuninori Morimoto
2023-03-15  6:42 ` [PATCH 6/6] ASoC: simple-card.c: add missing of_node_put() Kuninori Morimoto
2023-03-28 14:51 ` [PATCH 0/6] ASoC: remove unnecessary dai_link->platform Mark Brown

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=878rfyjz4p.wl-kuninori.morimoto.gx@renesas.com \
    --to=kuninori.morimoto.gx@renesas.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.