[alsa-devel] [PATCH v3 0/7] ASoC: soc-pcm cleanup step2

Kuninori Morimoto kuninori.morimoto.gx at renesas.com
Mon Feb 10 04:13:49 CET 2020


Hi Mark

These are v3 of soc-pcm cleanup.
Original [5/7] [6/7] patch call open / start function for all DAI / component.
And, it calls close / stop function for all if some of them got error.
But in such case, error occured DAI / component don't need to call close / stop.

This issue can be solved if it had flag, and my local tree has such patch.
But it was planed to post to ML a little later.
This time, I merged original patch and this new flag patch on [5/7] [6/7].

These mention that "it is prepare for soc-pcm-open() cleanup".
But it will be happen later.

These are based on v5.6-rc1

Kuninori Morimoto (8):
  1) ASoC: soc-pcm: add snd_soc_runtime_action()
  2) ASoC: soc-pcm: adjustment for DAI member 0 reset
  3) ASoC: soc-pcm: add for_each_dapm_widgets() macro
  4) ASoC: soc-pcm: don't use bit-OR'ed error
  5) ASoC: soc-pcm: call snd_soc_dai_startup()/shutdown() once
  6) ASoC: soc-pcm: call snd_soc_component_open/close() once
  7) ASoC: soc-pcm: move soc_pcm_close() next to soc_pcm_open()
  8) ASoC: soc-pcm: tidyup soc_pcm_open() order

 include/sound/soc-component.h |   7 +-
 include/sound/soc-dai.h       |   5 +-
 include/sound/soc-dapm.h      |   5 +
 sound/soc/soc-component.c     |  35 ++++--
 sound/soc/soc-dai.c           |  11 +-
 sound/soc/soc-dapm.c          |   8 +-
 sound/soc/soc-pcm.c           | 246 +++++++++++++++++++-----------------------
 7 files changed, 161 insertions(+), 156 deletions(-)

-- 
2.7.4



More information about the Alsa-devel mailing list