public inbox for linux-arm-msm@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 00/29] ASoC: soc-component: re-add pcm_new()/pcm_free()
@ 2026-03-16  2:24 Kuninori Morimoto
  2026-03-16  2:24 ` [PATCH v2 01/29] " Kuninori Morimoto
                   ` (29 more replies)
  0 siblings, 30 replies; 35+ messages in thread
From: Kuninori Morimoto @ 2026-03-16  2:24 UTC (permalink / raw)
  To: "Martin Povišer", Alexandre Belloni,
	Alexandre Torgue, Andrei Simion, AngeloGioacchino Del Regno,
	Arnaud Pouliquen, Baolin Wang, Bard Liao, Benson Leung, Biju Das,
	Cezary Rojewski, Cheng-Yi Chiang, Chunyan Zhang, Claudiu Beznea,
	Cyril Chao, Dan Carpenter, Daniel Baluta, Daniel Mack,
	Fabio Estevam, Frank Li, Geert Uytterhoeven, Guenter Roeck,
	Haojian Zhuang, Herve Codina, Jaroslav Kysela, Jonathan Hunter,
	Kai Vehmanen, Kunihiko Hayashi, Lad Prabhakar, Lars-Peter Clausen,
	Liam Girdwood, Mark Brown, Masami Hiramatsu, Matthias Brugger,
	Max Filippov, Maxime Coquelin, Michal Simek, Nicolas Ferre,
	Nicolin Chen, Oder Chiou, Olivier Moysan, Orson Zhai,
	Peter Ujfalusi, Pierre-Louis Bossart, Ranjani Sridharan, Ray Jui,
	Robert Jarzmik, Sascha Hauer, Scott Branden, Sheetal,
	Shengjiu Wang, Srinivas Kandagatla, Sylwester Nawrocki,
	Takashi Iwai, Thierry Reding, Tim Bird, Tzung-Bi Shih,
	Venkata Prasad Potturu, Vijendar Mukunda, Vincenzo Frascino,
	Xiubo Li, chrome-platform, imx, linux-arm-kernel, linux-arm-msm,
	linux-renesas-soc, linux-sound

Hi Mark

Because old pcm_new()/pcm_free() didn't care about parameter component,
to avoid name collisions, we have added pcm_construct()/pcm_destruct() by
commit c64bfc9066007 ("ASoC: soc-core: add new pcm_construct/pcm_destruct")

Because all driver switch to new pcm_construct()/pcm_destruct(), old
pcm_new()/pcm_free() were remoted by commit e9067bb502787 ("ASoC:
soc-component: remove snd_pcm_ops from component driver")

But naming of pcm_construct()/pcm_destruct() are not goot. re-add
pcm_new()/pcm_free(), and switch to use it, again.

Because it has no functional significance, 1 patch is for 1 vender.

v1 -> v2
	- rebase on latest asoc/for-7.1 branch

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

Kuninori Morimoto (29):
  ASoC: soc-component: re-add pcm_new()/pcm_free()
  ASoC: amd: name back to pcm_new()/pcm_free()
  ASoC: apple: name back to pcm_new()/pcm_free()
  ASoC: atmel: name back to pcm_new()/pcm_free()
  ASoC: au1x: name back to pcm_new()/pcm_free()
  ASoC: bcm: name back to pcm_new()/pcm_free()
  ASoC: codecs: cros_ec_codec: name back to pcm_new()/pcm_free()
  ASoC: codecs: rt5xxx-spi: name back to pcm_new()/pcm_free()
  ASoC: dwc: name back to pcm_new()/pcm_free()
  ASoC: fsl: name back to pcm_new()/pcm_free()
  ASoC: generic: name back to pcm_new()/pcm_free()
  ASoC: google: name back to pcm_new()/pcm_free()
  ASoC: intel: name back to pcm_new()/pcm_free()
  ASoC: kirkwood: name back to pcm_new()/pcm_free()
  ASoC: loongson: name back to pcm_new()/pcm_free()
  ASoC: mediatek: name back to pcm_new()/pcm_free()
  ASoC: pxa: name back to pcm_new()/pcm_free()
  ASoC: qcom: name back to pcm_new()/pcm_free()
  ASoC: renesas: name back to pcm_new()/pcm_free()
  ASoC: samsung: name back to pcm_new()/pcm_free()
  ASoC: soc-generic-dmaengine-pcm: name back to pcm_new()/pcm_free()
  ASoC: sof: name back to pcm_new()/pcm_free()
  ASoC: sprd: name back to pcm_new()/pcm_free()
  ASoC: stm: name back to pcm_new()/pcm_free()
  ASoC: tegra: name back to pcm_new()/pcm_free()
  ASoC: uniphier: name back to pcm_new()/pcm_free()
  ASoC: xilinx: name back to pcm_new()/pcm_free()
  ASoC: xtensa: name back to pcm_new()/pcm_free()
  ASoC: soc-component: remove pcm_construct()/pcm_destruct()

 include/sound/soc-component.h                       |  8 ++++----
 sound/soc/amd/acp-pcm-dma.c                         |  2 +-
 sound/soc/amd/acp/acp-platform.c                    |  2 +-
 sound/soc/amd/ps/ps-pdm-dma.c                       |  2 +-
 sound/soc/amd/ps/ps-sdw-dma.c                       |  2 +-
 sound/soc/amd/raven/acp3x-pcm-dma.c                 |  2 +-
 sound/soc/amd/renoir/acp3x-pdm-dma.c                |  2 +-
 sound/soc/amd/vangogh/acp5x-pcm-dma.c               |  2 +-
 sound/soc/amd/yc/acp6x-pdm-dma.c                    |  2 +-
 sound/soc/apple/mca.c                               |  4 ++--
 sound/soc/atmel/atmel-pcm-pdc.c                     |  2 +-
 sound/soc/au1x/dbdma2.c                             |  2 +-
 sound/soc/au1x/dma.c                                |  2 +-
 sound/soc/bcm/bcm63xx-pcm-whistler.c                |  2 +-
 sound/soc/bcm/cygnus-pcm.c                          |  2 +-
 sound/soc/codecs/cros_ec_codec.c                    |  2 +-
 sound/soc/codecs/rt5514-spi.c                       |  2 +-
 sound/soc/codecs/rt5677-spi.c                       |  2 +-
 sound/soc/dwc/dwc-pcm.c                             |  2 +-
 sound/soc/fsl/fsl_asrc_dma.c                        |  2 +-
 sound/soc/fsl/fsl_dma.c                             |  2 +-
 sound/soc/fsl/fsl_qmc_audio.c                       |  6 +++---
 sound/soc/fsl/imx-pcm-fiq.c                         |  4 ++--
 sound/soc/fsl/imx-pcm-rpmsg.c                       |  2 +-
 sound/soc/fsl/mpc5200_dma.c                         |  2 +-
 sound/soc/generic/audio-graph-card.c                |  2 +-
 sound/soc/generic/test-component.c                  | 12 ++++++------
 sound/soc/google/chv3-i2s.c                         |  6 +++---
 sound/soc/intel/atom/sst-mfld-platform-pcm.c        |  2 +-
 sound/soc/intel/avs/pcm.c                           |  8 ++++----
 sound/soc/intel/catpt/pcm.c                         |  6 +++---
 sound/soc/intel/keembay/kmb_platform.c              |  2 +-
 sound/soc/kirkwood/kirkwood-dma.c                   |  2 +-
 sound/soc/loongson/loongson_dma.c                   |  2 +-
 sound/soc/mediatek/common/mtk-afe-platform-driver.c |  2 +-
 sound/soc/mediatek/mt8186/mt8186-afe-pcm.c          |  2 +-
 sound/soc/mediatek/mt8189/mt8189-afe-pcm.c          |  4 ++--
 sound/soc/pxa/pxa-ssp.c                             |  2 +-
 sound/soc/pxa/pxa2xx-ac97.c                         |  2 +-
 sound/soc/pxa/pxa2xx-i2s.c                          |  2 +-
 sound/soc/pxa/pxa2xx-pcm.c                          |  2 +-
 sound/soc/qcom/lpass-platform.c                     |  2 +-
 sound/soc/qcom/qdsp6/q6apm-dai.c                    |  2 +-
 sound/soc/qcom/qdsp6/q6asm-dai.c                    |  2 +-
 sound/soc/renesas/dma-sh7760.c                      |  2 +-
 sound/soc/renesas/fsi.c                             |  2 +-
 sound/soc/renesas/rcar/msiof.c                      |  2 +-
 sound/soc/renesas/rz-ssi.c                          |  2 +-
 sound/soc/renesas/siu_pcm.c                         |  4 ++--
 sound/soc/samsung/idma.c                            |  4 ++--
 sound/soc/soc-component.c                           |  8 ++++----
 sound/soc/soc-generic-dmaengine-pcm.c               |  4 ++--
 sound/soc/sof/pcm.c                                 |  4 ++--
 sound/soc/sprd/sprd-pcm-dma.c                       |  2 +-
 sound/soc/stm/stm32_adfsdm.c                        |  2 +-
 sound/soc/tegra/tegra210_admaif.c                   |  6 +++---
 sound/soc/tegra/tegra_pcm.c                         |  6 +++---
 sound/soc/tegra/tegra_pcm.h                         |  4 ++--
 sound/soc/uniphier/aio-dma.c                        |  2 +-
 sound/soc/xilinx/xlnx_formatter_pcm.c               |  2 +-
 sound/soc/xtensa/xtfpga-i2s.c                       |  2 +-
 61 files changed, 93 insertions(+), 93 deletions(-)

-- 
2.43.0


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

end of thread, other threads:[~2026-03-16 22:00 UTC | newest]

Thread overview: 35+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-16  2:24 [PATCH v2 00/29] ASoC: soc-component: re-add pcm_new()/pcm_free() Kuninori Morimoto
2026-03-16  2:24 ` [PATCH v2 01/29] " Kuninori Morimoto
2026-03-16 15:56   ` Herve Codina
2026-03-16  2:24 ` [PATCH v2 02/29] ASoC: amd: name back to pcm_new()/pcm_free() Kuninori Morimoto
2026-03-16  2:25 ` [PATCH v2 03/29] ASoC: apple: " Kuninori Morimoto
2026-03-16  2:25 ` [PATCH v2 04/29] ASoC: atmel: " Kuninori Morimoto
2026-03-16  2:25 ` [PATCH v2 05/29] ASoC: au1x: " Kuninori Morimoto
2026-03-16  2:25 ` [PATCH v2 06/29] ASoC: bcm: " Kuninori Morimoto
2026-03-16  2:25 ` [PATCH v2 07/29] ASoC: codecs: cros_ec_codec: " Kuninori Morimoto
2026-03-16  2:25 ` [PATCH v2 08/29] ASoC: codecs: rt5xxx-spi: " Kuninori Morimoto
2026-03-16  2:25 ` [PATCH v2 09/29] ASoC: dwc: " Kuninori Morimoto
2026-03-16  2:25 ` [PATCH v2 10/29] ASoC: fsl: " Kuninori Morimoto
2026-03-16 15:59   ` Herve Codina
2026-03-16  2:26 ` [PATCH v2 11/29] ASoC: generic: " Kuninori Morimoto
2026-03-16  2:26 ` [PATCH v2 12/29] ASoC: google: " Kuninori Morimoto
2026-03-16  2:26 ` [PATCH v2 13/29] ASoC: intel: " Kuninori Morimoto
2026-03-16 16:06   ` Cezary Rojewski
2026-03-16  2:26 ` [PATCH v2 14/29] ASoC: kirkwood: " Kuninori Morimoto
2026-03-16  2:26 ` [PATCH v2 15/29] ASoC: loongson: " Kuninori Morimoto
2026-03-16  2:26 ` [PATCH v2 16/29] ASoC: mediatek: " Kuninori Morimoto
2026-03-16  2:26 ` [PATCH v2 17/29] ASoC: pxa: " Kuninori Morimoto
2026-03-16  2:26 ` [PATCH v2 18/29] ASoC: qcom: " Kuninori Morimoto
2026-03-16  2:26 ` [PATCH v2 19/29] ASoC: renesas: " Kuninori Morimoto
2026-03-16  2:27 ` [PATCH v2 20/29] ASoC: samsung: " Kuninori Morimoto
2026-03-16  2:27 ` [PATCH v2 21/29] ASoC: soc-generic-dmaengine-pcm: " Kuninori Morimoto
2026-03-16  2:27 ` [PATCH v2 22/29] ASoC: sof: " Kuninori Morimoto
2026-03-16  2:27 ` [PATCH v2 23/29] ASoC: sprd: " Kuninori Morimoto
2026-03-16  2:27 ` [PATCH v2 24/29] ASoC: stm: " Kuninori Morimoto
2026-03-16  2:27 ` [PATCH v2 25/29] ASoC: tegra: " Kuninori Morimoto
2026-03-16  2:27 ` [PATCH v2 26/29] ASoC: uniphier: " Kuninori Morimoto
2026-03-16  2:27 ` [PATCH v2 27/29] ASoC: xilinx: " Kuninori Morimoto
2026-03-16  2:27 ` [PATCH v2 28/29] ASoC: xtensa: " Kuninori Morimoto
2026-03-16  2:27 ` [PATCH v2 29/29] ASoC: soc-component: remove pcm_construct()/pcm_destruct() Kuninori Morimoto
2026-03-16 16:02   ` Herve Codina
2026-03-16 21:59 ` [PATCH v2 00/29] ASoC: soc-component: re-add pcm_new()/pcm_free() Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox