[00/16] ASoC: add soc-dai.c
mbox series

Message ID 8736iyj1yr.wl-kuninori.morimoto.gx@renesas.com
Headers show
  • ASoC: add soc-dai.c
Related show


Kuninori Morimoto July 22, 2019, 1:27 a.m. UTC
Hi Mark

I want to cleanup ALSA SoC.
It will do nothing from "technical" point of view,
but, will makes code readable.

I already have many cleanup patches in my local branch.
This is first patch-set for it.

Kuninori Morimoto (16):
  ASoC: add soc-dai.c
  ASoC: soc-dai: mv soc_dai_hw_params() to soc-dai
  ASoC: soc-dai: add snd_soc_dai_hw_free()
  ASoC: soc-dai: add snd_soc_dai_startup()
  ASoC: soc-dai: add snd_soc_dai_shutdown()
  ASoC: soc-dai: add snd_soc_dai_prepare()
  ASoC: soc-dai: add snd_soc_dai_trigger()
  ASoC: soc-dai: add snd_soc_dai_bespoke_trigger()
  ASoC: soc-dai: add snd_soc_dai_delay()
  ASoC: soc-dai: add snd_soc_dai_suspend()
  ASoC: soc-dai: add snd_soc_dai_resume()
  ASoC: soc-dai: add snd_soc_dai_probe()
  ASoC: soc-dai: add snd_soc_dai_remove()
  ASoC: soc-dai: add snd_soc_dai_compress_new()
  ASoC: soc-dai: move snd_soc_dai_stream_valid() to soc-dai.c
  ASoC: soc-core: use existing snd_soc_dai_digital_mute()

 include/sound/soc-dai.h  |  25 +++
 include/sound/soc.h      |   4 -
 sound/soc/Makefile       |   2 +-
 sound/soc/soc-compress.c |   9 +-
 sound/soc/soc-core.c     | 316 ++++--------------------------------
 sound/soc/soc-dai.c      | 407 +++++++++++++++++++++++++++++++++++++++++++++++
 sound/soc/soc-dapm.c     |  46 ++----
 sound/soc/soc-pcm.c      | 200 +++++++----------------
 8 files changed, 548 insertions(+), 461 deletions(-)
 create mode 100644 sound/soc/soc-dai.c