alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 00/39] ASoC: merge DAI call back functions into ops
@ 2023-08-08 22:54 Kuninori Morimoto
  2023-08-08 22:54 ` [PATCH v2 01/39] ASoC: soc-dai.h: " Kuninori Morimoto
                   ` (39 more replies)
  0 siblings, 40 replies; 45+ messages in thread
From: Kuninori Morimoto @ 2023-08-08 22:54 UTC (permalink / raw)
  To: "Amadeusz S�awi�ski",
	"Uwe Kleine-König", Aidan MacDonald,
	Alexander Sverdlin, Alexandre Belloni, Alexandre Torgue,
	Arnaud Pouliquen, Arnd Bergmann, Ban Tao, Banajit Goswami,
	Bard Liao, Cezary Rojewski, Chancel Liu, Charles Keepax,
	Chen-Yu Tsai, Claudiu Beznea, Daniel Baluta, Daniel Mack,
	Daniel Vetter, David Airlie, David Rhodes, Emma Anholt,
	Florian Fainelli, Haojian Zhuang, Heiko Stuebner, James Schulman,
	Jarkko Nikula, Jaroslav Kysela, Jernej Skrabec, Jerome Brunet,
	Jonathan Hunter, Judy Hsiao, Jyri Sarha, Kai Vehmanen,
	Kevin Hilman, Kunihiko Hayashi, Liam Girdwood, Liam Girdwood,
	Linus Walleij, Mark Brown, Masami Hiramatsu, Matthias Brugger,
	Maxim Kochetkov, Maxime Coquelin, Maxime Ripard, Neil Armstrong,
	Nicolas Ferre, Nicolas Frattaroli, Olivier Moysan, Paul Cercueil,
	Peter Ujfalusi, Peter Ujfalusi, Pierre-Louis Bossart,
	Ranjani Sridharan, Ray Jui, Richard Fitzgerald, Robert Jarzmik,
	Samuel Holland, Scott Branden, Shengjiu Wang, Srinivas Kandagatla,
	Srinivasa Rao Mandadapu, Syed Saba Kareem, Sylwester Nawrocki,
	Takashi Iwai, Thierry Reding, Trevor Wu, Venkata Prasad Potturu,
	Walker Chen, Xiubo Li, Yingkun Meng
  Cc: AngeloGioacchino Del Regno, Fabio Estevam, Kai Vehmanen,
	Martin Blumenstingl, Nicolin Chen, Shengjiu Wang, alsa-devel


Hi Mark

snd_soc_dai_driver has .ops for call back functions (A), but it also
has other call back functions (B). It is duplicated and confusable.

	struct snd_soc_dai_driver {
		...
 ^		int (*probe)(...);
 |		int (*remove)(...);
(B)		int (*compress_new)(...);
 |		int (*pcm_new)(...);
 v		...
(A)		const struct snd_soc_dai_ops *ops;
		...
	}

This patch merges (B) into (A).

-------- 8< -------- 8< -------- 8< -------- 8< -------- 8< --------

v1 -> v2
	- add Reviewed-by on each patches.
	- fixup git-log typo (thesse -> there)
	- add missing patch for au1x

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


Kuninori Morimoto (39):
  ASoC: soc-dai.h: merge DAI call back functions into ops
  ASoC: ti: merge DAI call back functions into ops
  ASoC: adi: merge DAI call back functions into ops
  ASoC: adi: merge DAI call back functions into ops
  ASoC: amd: merge DAI call back functions into ops
  ASoC: dwc: merge DAI call back functions into ops
  ASoC: pxa: merge DAI call back functions into ops
  ASoC: bcm: merge DAI call back functions into ops
  ASoC: fsl: merge DAI call back functions into ops
  ASoC: img: merge DAI call back functions into ops
  ASoC: sof: merge DAI call back functions into ops
  ASoC: sti: merge DAI call back functions into ops
  ASoC: stm: merge DAI call back functions into ops
  ASoC: pxa: merge DAI call back functions into ops
  ASoC: rsnd: merge DAI call back functions into ops
  ASoC: qcom: merge DAI call back functions into ops
  ASoC: au1x: merge DAI call back functions into ops
  ASoC: ux500: merge DAI call back functions into ops
  ASoC: sunxi: merge DAI call back functions into ops
  ASoC: tegra: merge DAI call back functions into ops
  ASoC: atmel: merge DAI call back functions into ops
  ASoC: intel: merge DAI call back functions into ops
  ASoC: meson: merge DAI call back functions into ops
  ASoC: jz4740: merge DAI call back functions into ops
  ASoC: cirrus: merge DAI call back functions into ops
  ASoC: drm/vc4: merge DAI call back functions into ops
  ASoC: samsung: merge DAI call back functions into ops
  ASoC: mediatek: merge DAI call back functions into ops
  ASoC: rockchip: merge DAI call back functions into ops
  ASoC: uniphier: merge DAI call back functions into ops
  ASoC: loongson: merge DAI call back functions into ops
  ASoC: starfive: merge DAI call back functions into ops
  ASoC: hisilicon: merge DAI call back functions into ops
  ASoC: codecs/wm*: merge DAI call back functions into ops
  ASoC: soc-topology: merge DAI call back functions into ops
  ASoC: codecs/cs47lxx: merge DAI call back functions into ops
  ASoC: codecs/cx2072x: merge DAI call back functions into ops
  ASoC: codecs/hdmi-codec: merge DAI call back functions into ops
  ASoC: soc-dai.h: remove unused call back functions

 drivers/gpu/drm/vc4/vc4_hdmi.c               |   6 +-
 include/sound/soc-dai.h                      |  26 +--
 sound/soc/adi/axi-i2s.c                      |   2 +-
 sound/soc/adi/axi-spdif.c                    |   2 +-
 sound/soc/amd/acp/acp-i2s.c                  |  24 +--
 sound/soc/amd/acp/acp-rembrandt.c            |   3 -
 sound/soc/amd/acp/acp-renoir.c               |   2 -
 sound/soc/amd/acp/amd.h                      |   1 -
 sound/soc/atmel/atmel-i2s.c                  |  16 +-
 sound/soc/atmel/mchp-i2s-mcc.c               |  24 +--
 sound/soc/atmel/mchp-pdmc.c                  |  18 +--
 sound/soc/atmel/mchp-spdifrx.c               |  14 +-
 sound/soc/atmel/mchp-spdiftx.c               |  18 +--
 sound/soc/au1x/ac97c.c                       |  10 +-
 sound/soc/au1x/psc-ac97.c                    |   2 +-
 sound/soc/bcm/bcm2835-i2s.c                  |  24 +--
 sound/soc/cirrus/ep93xx-i2s.c                |   2 +-
 sound/soc/codecs/cs47l15.c                   |   6 +-
 sound/soc/codecs/cs47l24.c                   |   8 +-
 sound/soc/codecs/cs47l35.c                   |   8 +-
 sound/soc/codecs/cs47l85.c                   |   8 +-
 sound/soc/codecs/cs47l90.c                   |   8 +-
 sound/soc/codecs/cs47l92.c                   |   6 +-
 sound/soc/codecs/cx2072x.c                   |  11 +-
 sound/soc/codecs/hdmi-codec.c                |  44 ++---
 sound/soc/codecs/wm2200.c                    |  12 +-
 sound/soc/codecs/wm5102.c                    |   6 +-
 sound/soc/codecs/wm5110.c                    |   8 +-
 sound/soc/codecs/wm8994.c                    |   2 +-
 sound/soc/dwc/dwc-i2s.c                      |  18 +--
 sound/soc/fsl/fsl_asrc.c                     |  16 +-
 sound/soc/fsl/fsl_aud2htx.c                  |  10 +-
 sound/soc/fsl/fsl_easrc.c                    |  16 +-
 sound/soc/fsl/fsl_esai.c                     |  20 +--
 sound/soc/fsl/fsl_micfil.c                   |  14 +-
 sound/soc/fsl/fsl_sai.c                      |  24 +--
 sound/soc/fsl/fsl_spdif.c                    |  17 +-
 sound/soc/fsl/fsl_ssi.c                      |   3 +-
 sound/soc/fsl/fsl_xcvr.c                     |  16 +-
 sound/soc/generic/audio-graph-card.c         |   2 +-
 sound/soc/hisilicon/hi6210-i2s.c             |   2 +-
 sound/soc/img/img-i2s-in.c                   |  14 +-
 sound/soc/img/img-i2s-out.c                  |  14 +-
 sound/soc/img/img-parallel-out.c             |  14 +-
 sound/soc/img/img-spdif-in.c                 |  12 +-
 sound/soc/img/img-spdif-out.c                |  12 +-
 sound/soc/intel/atom/sst-mfld-platform-pcm.c |   2 +-
 sound/soc/intel/avs/probes.c                 |  10 +-
 sound/soc/intel/catpt/pcm.c                  |   8 +-
 sound/soc/intel/keembay/kmb_platform.c       |   4 +-
 sound/soc/jz4740/jz4740-i2s.c                |   3 +-
 sound/soc/loongson/loongson_i2s.c            |  16 +-
 sound/soc/mediatek/mt8195/mt8195-dai-etdm.c  |  56 ++++---
 sound/soc/meson/aiu-acodec-ctrl.c            |   4 +-
 sound/soc/meson/aiu-codec-ctrl.c             |   4 +-
 sound/soc/meson/aiu-fifo-i2s.c               |   3 +
 sound/soc/meson/aiu-fifo-spdif.c             |   3 +
 sound/soc/meson/aiu.c                        |   6 -
 sound/soc/meson/axg-frddr.c                  |   4 +-
 sound/soc/meson/axg-pdm.c                    |  18 +--
 sound/soc/meson/axg-spdifin.c                |   4 +-
 sound/soc/meson/axg-tdm-interface.c          |   6 +-
 sound/soc/meson/axg-toddr.c                  |   4 +-
 sound/soc/meson/g12a-toacodec.c              |   4 +-
 sound/soc/meson/g12a-tohdmitx.c              |   4 +-
 sound/soc/pxa/mmp-sspa.c                     |   2 +-
 sound/soc/pxa/pxa-ssp.c                      |   4 +-
 sound/soc/qcom/lpass-apq8016.c               |   4 -
 sound/soc/qcom/lpass-cpu.c                   |  40 +++--
 sound/soc/qcom/lpass-ipq806x.c               |   1 -
 sound/soc/qcom/lpass-sc7180.c                |   5 +-
 sound/soc/qcom/lpass-sc7280.c                |   2 -
 sound/soc/qcom/lpass.h                       |   4 +-
 sound/soc/qcom/qdsp6/q6afe-dai.c             |  88 +++++-----
 sound/soc/qcom/qdsp6/q6asm-dai.c             |   6 +-
 sound/soc/qcom/qdsp6/q6dsp-lpass-ports.c     |   3 -
 sound/soc/rockchip/rockchip_i2s.c            |   2 +-
 sound/soc/rockchip/rockchip_i2s_tdm.c        |   2 +-
 sound/soc/rockchip/rockchip_pdm.c            |   2 +-
 sound/soc/rockchip/rockchip_spdif.c          |   2 +-
 sound/soc/samsung/i2s.c                      |   5 +-
 sound/soc/samsung/pcm.c                      |  18 +--
 sound/soc/sh/rcar/core.c                     |  27 ++--
 sound/soc/soc-dai.c                          |  44 ++---
 sound/soc/soc-topology.c                     |   6 +-
 sound/soc/sof/sof-client-probes.c            |   6 +-
 sound/soc/starfive/jh7110_tdm.c              |  16 +-
 sound/soc/sti/sti_uniperif.c                 |   6 +-
 sound/soc/stm/stm32_i2s.c                    |   2 +-
 sound/soc/stm/stm32_sai_sub.c                |  18 ++-
 sound/soc/stm/stm32_spdifrx.c                |   2 +-
 sound/soc/sunxi/sun4i-codec.c                |   6 +-
 sound/soc/sunxi/sun4i-i2s.c                  |  18 +--
 sound/soc/sunxi/sun4i-spdif.c                |   2 +-
 sound/soc/sunxi/sun50i-dmic.c                |   2 +-
 sound/soc/tegra/tegra20_ac97.c               |  10 +-
 sound/soc/tegra/tegra20_i2s.c                |   2 +-
 sound/soc/tegra/tegra20_spdif.c              |   2 +-
 sound/soc/tegra/tegra210_admaif.c            |  12 +-
 sound/soc/tegra/tegra30_i2s.c                |   2 +-
 sound/soc/ti/davinci-i2s.c                   |  22 +--
 sound/soc/ti/davinci-mcasp.c                 |  27 ++--
 sound/soc/ti/omap-dmic.c                     |  22 +--
 sound/soc/ti/omap-mcbsp.c                    |  28 ++--
 sound/soc/ti/omap-mcpdm.c                    |  22 +--
 sound/soc/uniphier/aio-cpu.c                 | 161 +++++++++++++++----
 sound/soc/uniphier/aio-ld11.c                |  62 ++-----
 sound/soc/uniphier/aio-pxs2.c                |  55 +------
 sound/soc/uniphier/aio.h                     |  10 +-
 sound/soc/ux500/ux500_msp_dai.c              |   2 +-
 110 files changed, 798 insertions(+), 694 deletions(-)

-- 
2.25.1


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

end of thread, other threads:[~2023-08-16 10:56 UTC | newest]

Thread overview: 45+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-08 22:54 [PATCH v2 00/39] ASoC: merge DAI call back functions into ops Kuninori Morimoto
2023-08-08 22:54 ` [PATCH v2 01/39] ASoC: soc-dai.h: " Kuninori Morimoto
2023-08-14 22:05   ` Mark Brown
2023-08-08 22:54 ` [PATCH v2 02/39] ASoC: ti: " Kuninori Morimoto
2023-08-08 22:55 ` [PATCH v2 03/39] ASoC: adi: " Kuninori Morimoto
2023-08-08 22:55 ` [PATCH v2 04/39] " Kuninori Morimoto
2023-08-08 22:55 ` [PATCH v2 05/39] ASoC: amd: " Kuninori Morimoto
2023-08-08 22:55 ` [PATCH v2 06/39] ASoC: dwc: " Kuninori Morimoto
2023-08-08 22:55 ` [PATCH v2 07/39] ASoC: pxa: " Kuninori Morimoto
2023-08-08 22:55 ` [PATCH v2 08/39] ASoC: bcm: " Kuninori Morimoto
2023-08-08 22:55 ` [PATCH v2 09/39] ASoC: fsl: " Kuninori Morimoto
2023-08-08 22:55 ` [PATCH v2 10/39] ASoC: img: " Kuninori Morimoto
2023-08-08 22:56 ` [PATCH v2 11/39] ASoC: sof: " Kuninori Morimoto
2023-08-08 22:56 ` [PATCH v2 12/39] ASoC: sti: " Kuninori Morimoto
2023-08-08 22:56 ` [PATCH v2 13/39] ASoC: stm: " Kuninori Morimoto
2023-08-08 22:56 ` [PATCH v2 14/39] ASoC: pxa: " Kuninori Morimoto
2023-08-08 22:56 ` [PATCH v2 15/39] ASoC: rsnd: " Kuninori Morimoto
2023-08-08 22:56 ` [PATCH v2 16/39] ASoC: qcom: " Kuninori Morimoto
2023-08-08 22:56 ` [PATCH v2 17/39] ASoC: au1x: " Kuninori Morimoto
2023-08-08 22:56 ` [PATCH v2 18/39] ASoC: ux500: " Kuninori Morimoto
2023-08-09  8:05   ` Linus Walleij
2023-08-08 22:56 ` [PATCH v2 19/39] ASoC: sunxi: " Kuninori Morimoto
2023-08-08 22:56 ` [PATCH v2 20/39] ASoC: tegra: " Kuninori Morimoto
2023-08-08 22:57 ` [PATCH v2 21/39] ASoC: atmel: " Kuninori Morimoto
2023-08-08 22:57 ` [PATCH v2 22/39] ASoC: intel: " Kuninori Morimoto
2023-08-08 22:57 ` [PATCH v2 23/39] ASoC: meson: " Kuninori Morimoto
2023-08-08 22:57 ` [PATCH v2 24/39] ASoC: jz4740: " Kuninori Morimoto
2023-08-08 22:57 ` [PATCH v2 25/39] ASoC: cirrus: " Kuninori Morimoto
2023-08-08 22:57 ` [PATCH v2 26/39] ASoC: drm/vc4: " Kuninori Morimoto
2023-08-08 22:57 ` [PATCH v2 27/39] ASoC: samsung: " Kuninori Morimoto
2023-08-08 22:57 ` [PATCH v2 28/39] ASoC: mediatek: " Kuninori Morimoto
2023-08-08 22:57 ` [PATCH v2 29/39] ASoC: rockchip: " Kuninori Morimoto
2023-08-09 13:20   ` Heiko Stuebner
2023-08-08 22:58 ` [PATCH v2 30/39] ASoC: uniphier: " Kuninori Morimoto
2023-08-08 22:58 ` [PATCH v2 31/39] ASoC: loongson: " Kuninori Morimoto
2023-08-08 22:58 ` [PATCH v2 32/39] ASoC: starfive: " Kuninori Morimoto
2023-08-08 22:58 ` [PATCH v2 33/39] ASoC: hisilicon: " Kuninori Morimoto
2023-08-08 22:58 ` [PATCH v2 34/39] ASoC: codecs/wm*: " Kuninori Morimoto
2023-08-08 22:58 ` [PATCH v2 35/39] ASoC: soc-topology: " Kuninori Morimoto
2023-08-08 22:58 ` [PATCH v2 36/39] ASoC: codecs/cs47lxx: " Kuninori Morimoto
2023-08-09  9:33   ` Charles Keepax
2023-08-08 22:58 ` [PATCH v2 37/39] ASoC: codecs/cx2072x: " Kuninori Morimoto
2023-08-08 22:58 ` [PATCH v2 38/39] ASoC: codecs/hdmi-codec: " Kuninori Morimoto
2023-08-08 22:59 ` [PATCH v2 39/39] ASoC: soc-dai.h: remove unused call back functions Kuninori Morimoto
2023-08-14 22:06 ` [PATCH v2 00/39] ASoC: merge DAI call back functions into ops 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).