[alsa-devel] [PATCH v2 00/29] ASoC: add soc-component.c

Kuninori Morimoto kuninori.morimoto.gx at renesas.com
Fri Jul 26 06:48:43 CEST 2019


Hi Mark

These are v2 of soc-component.c patch-set.

I want to add multi CPU DAI support to ALSA SoC.
But I noticed that we want to cleanup ALSA SoC before that.
These patches will do nothing from "technical" point of view,
but, will makes code readable.

These are focusing to "component". Actually, soc-io.c is also for component.
I'm thinking that we can merge soc-io.c into soc-component.c,
but do nothing by these patch-set.

 1) -  4) : new patch. it removes un-used component functions
 5) - 19) : small bug fixed from v1
20) - 22) : more cleanuped
23) - 29) : cares for_each_rtdcom() loop

Kuninori Morimoto (29):
   1) ASoC: Intel: skl-pcm: disable skl_get_time_info
   2) ASoC: soc-pcm: remove soc_rtdcom_ack()
   3) ASoC: soc-pcm: remove soc_rtdcom_copy_kernel()
   4) ASoC: soc-pcm: remove soc_fill_silence()
   5) ASoC: add soc-component.c
   6) ASoC: soc-component: add snd_soc_component_get/put()
   7) ASoC: soc-component: add snd_soc_component_open()
   8) ASoC: soc-component: add snd_soc_component_close()
   9) ASoC: soc-component: add snd_soc_component_prepare()
  10) ASoC: soc-component: add snd_soc_component_hw_params()
  11) ASoC: soc-component: add snd_soc_component_hw_free()
  12) ASoC: soc-component: add snd_soc_component_trigger()
  13) ASoC: soc-component: add snd_soc_component_suspend()
  14) ASoC: soc-component: add snd_soc_component_resume()
  15) ASoC: soc-component: add snd_soc_component_is_suspended()
  16) ASoC: soc-component: add snd_soc_component_probe()
  17) ASoC: soc-component: add snd_soc_component_remove()
  18) ASoC: soc-component: add snd_soc_component_of_xlate_dai_id()
  19) ASoC: soc-component: add snd_soc_component_of_xlate_dai_name()
  20) ASoC: soc-component: move snd_soc_component_seq_notifier()
  21) ASoC: soc-component: move snd_soc_component_stream_event()
  22) ASoC: soc-component: move snd_soc_component_set_bias_level()
  23) ASoC: soc-component: add snd_soc_pcm_component_pointer()
  24) ASoC: soc-component: add snd_soc_pcm_component_ioctrl()
  25) ASoC: soc-component: add snd_soc_pcm_component_copy_user()
  26) ASoC: soc-component: add snd_soc_pcm_component_page()
  27) ASoC: soc-component: add snd_soc_pcm_component_mmap()
  28) ASoC: soc-component: add snd_soc_pcm_component_pcm_new()
  29) ASoC: soc-component: add snd_soc_pcm_component_pcm_free()

 include/sound/soc-component.h     | 387 ++++++++++++++++++++++++++
 include/sound/soc-dapm.h          |   6 -
 include/sound/soc.h               | 306 +--------------------
 sound/soc/Makefile                |   2 +-
 sound/soc/intel/skylake/skl-pcm.c |   3 +-
 sound/soc/soc-component.c         | 561 ++++++++++++++++++++++++++++++++++++++
 sound/soc/soc-core.c              | 123 ++-------
 sound/soc/soc-dapm.c              |  28 +-
 sound/soc/soc-jack.c              |  18 --
 sound/soc/soc-pcm.c               | 260 ++----------------
 sound/soc/soc-utils.c             | 199 --------------
 11 files changed, 1012 insertions(+), 881 deletions(-)
 create mode 100644 include/sound/soc-component.h
 create mode 100644 sound/soc/soc-component.c

-- 
2.7.4



More information about the Alsa-devel mailing list