mbox series

[0/3] ASoC: remove component->id

Message ID 87a57o2amc.wl-kuninori.morimoto.gx@renesas.com
Headers show
Series ASoC: remove component->id | expand

Message

Kuninori Morimoto May 8, 2025, 12:45 a.m. UTC
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(-)