[alsa-devel] [PATCH v2 00/14] ASoC: soc-core cleanup - step 3

Kuninori Morimoto kuninori.morimoto.gx at renesas.com
Thu Sep 12 06:37:36 CEST 2019


Hi Mark

These are v2 of soc-core.c cleanup (maybe) step 3.
These try to clenaup around kmalloc/kfree related code.
Basically these do nothing from technical point of view.
I added +1 extra patch as [00/14]

Kuninori Morimoto (14):
  ASoC: soc-core: move soc_free_pcm_runtime()
  ASoC: soc-core: merge soc_add_pcm_runtime() into soc_new_pcm_runtime()
  ASoC: soc-core: call list_del(&rtd->list) at soc_free_pcm_runtime()
  ASoC: soc-core: create rtd->codec_dais first
  ASoC: soc-core: merge soc_new_pcm_runtime() and soc_rtd_init()
  ASoC: soc-core: merge soc_free_pcm_runtime() and soc_rtd_free()
  ASoC: soc-core: tidyup soc_new_pcm_runtime() alloc order
  ASoC: soc-core: remove snd_soc_rtdcom_del_all()
  ASoC: soc-core: use devm_kzalloc() for rtd
  ASoC: soc-core: remove soc_remove_dai_links()
  ASoC: soc-core: add soc_setup_card_name()
  ASoC: soc-core: use devm_xxx for component related resource
  ASoC: soc-core: setup card->rtd_num at snd_soc_instantiate_card()
  ASoC: soc-ops: use snd_soc_card_get_kcontrol() at snd_soc_limit_volume()

 include/sound/soc.h  |   1 -
 sound/soc/soc-core.c | 287 ++++++++++++++++++++++++++-------------------------
 sound/soc/soc-ops.c  |  11 +-
 3 files changed, 151 insertions(+), 148 deletions(-)

-- 
2.7.4



More information about the Alsa-devel mailing list