[alsa-devel] [PATCH 00/15] ASoC: simple-card: share similar function

Kuninori Morimoto kuninori.morimoto.gx at renesas.com
Mon Mar 18 05:49:41 CET 2019


Hi Mark

These are clean-up patch-set for simple-card / audio-graph.
These are very similar sound card drivers, the difference
is only "using OF-graph" or not.
But these are using very similar or 100% same function on each files.
These patches share these at simple-card-utils.
These are based on asoc/for-5.2

Kuninori Morimoto (15):
  ASoC: simple-card: rename simple_get_conversion() to simple_parse_convert()
  ASoC: simple-card: add simple_parse_mclk_fs()
  ASoC: audio-graph: rename graph_get_conversion() to graph_parse_convert()
  ASoC: audio-graph: add graph_parse_mclk_fs()
  ASoC: simple-card-utils: add asoc_simple_debug_info()
  ASoC: simple_card_utils: share common priv for simple-card/audio-graph
  ASoC: simple-card-utils: share asoc_simple_startup()
  ASoC: simple-card-utils: share asoc_simple_shutdown()
  ASoC: simple-card-utils: share asoc_simple_hw_param()
  ASoC: simple-card-utils: share asoc_simple_dai_init()
  ASoC: simple-card-utils: share asoc_simple_be_hw_params_fixup()
  ASoC: simple-card-utils: share asoc_simple_card_init_priv()
  ASoC: simple-card-utils: separate asoc_simple_card_parse_dai()
  ASoC: simple-card-utils: rename asoc_simple_card_xxx() to asoc_simple_()
  ASoC: simple-card-utils: test memory allocation

 include/sound/simple_card_utils.h     | 236 +++++++++++++------
 sound/soc/generic/audio-graph-card.c  | 429 +++++++++++++++-------------------
 sound/soc/generic/simple-card-utils.c | 378 ++++++++++++++++--------------
 sound/soc/generic/simple-card.c       | 379 +++++++++++-------------------
 4 files changed, 675 insertions(+), 747 deletions(-)

-- 
2.7.4



Best regards
---
Kuninori Morimoto


More information about the Alsa-devel mailing list