linux-sound.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] ASoC: remove component->id
@ 2025-05-08  0:45 Kuninori Morimoto
  2025-05-08  0:46 ` [PATCH 1/3] ASoC: qcom: use drvdata instead of component to keep id Kuninori Morimoto
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Kuninori Morimoto @ 2025-05-08  0:45 UTC (permalink / raw)
  To: Jaroslav Kysela, Liam Girdwood, Mark Brown, Srinivas Kandagatla,
	Takashi Iwai, linux-arm-msm, linux-sound

Hi Mark, Qcom member

snd_soc_component has "id", but no one is using it except Qcom. It is
initialized at snd_soc_component_initialize(), but Qcom overwrites it.
Qcom can use own private data for it. So, we don't need to have
component->id anymore. Let's remove it.

Kuninori Morimoto (3):
  ASoC: qcom: use drvdata instead of component to keep id
  ASoC: soc-core: save ID if param was set in fmt_single_name()
  ASoC: remove component->id

 include/sound/soc-component.h   |  1 -
 sound/soc/qcom/lpass-platform.c | 10 ++++++----
 sound/soc/qcom/lpass.h          |  1 +
 sound/soc/soc-core.c            | 14 +++++++++-----
 4 files changed, 16 insertions(+), 10 deletions(-)

-- 
2.43.0


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

end of thread, other threads:[~2025-05-12  0:44 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-08  0:45 [PATCH 0/3] ASoC: remove component->id Kuninori Morimoto
2025-05-08  0:46 ` [PATCH 1/3] ASoC: qcom: use drvdata instead of component to keep id Kuninori Morimoto
2025-05-09 11:00   ` Srinivas Kandagatla
2025-05-12  0:44     ` Kuninori Morimoto
2025-05-08  0:46 ` [PATCH 2/3] ASoC: soc-core: save ID if param was set in fmt_single_name() Kuninori Morimoto
2025-05-08  0:46 ` [PATCH 3/3] ASoC: remove component->id Kuninori Morimoto

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).