[alsa-devel] [PATCH 0/2] ASoC: simple-card-utils: add asoc_simple_card_of_parse_widgets()

Kuninori Morimoto kuninori.morimoto.gx at renesas.com
Fri Jun 16 03:38:09 CEST 2017


Hi Mark

Simple/OF-Audio card are using same DT properties, but not using
same functions for it.
Now, simple-card is only supporting "widgets" feature.
I hope it will be supported on simple-scu/of-audio/of-audio-scu card too
(I'm not widgets user, thus, I can't test).
Then, DT properties needs to be shared with all Simple/OF-Audio cards.
This means if needs common function on simple-card-utils.

Currently only 1 user exist, thus, this is a little bit aggressive,
but encapsulation is one of simple card util's purpose.
This patches adds common widgets function on utils, and use it from simple-card.

Kuninori Morimoto (2):
  ASoC: simple-card-utils: add asoc_simple_card_of_parse_widgets()
  ASoC: simple-card: use asoc_simple_card_of_parse_widgets()

 include/sound/simple_card_utils.h     |  2 ++
 sound/soc/generic/simple-card-utils.c | 19 +++++++++++++++++++
 sound/soc/generic/simple-card.c       | 10 +++-------
 3 files changed, 24 insertions(+), 7 deletions(-)

-- 
1.9.1



More information about the Alsa-devel mailing list