[alsa-devel] [PATCH 0/5] ASoC: simple/graph card: use asoc_simple_card_of_parse_tdm()

Kuninori Morimoto kuninori.morimoto.gx at renesas.com
Wed Jun 14 02:33:10 CEST 2017


Hi Mark

These are not a big deal, but current simple/graph card
drivers are using asoc_simple_dai's tx_slot_mask,
rx_slot_mask, slots, slot_width directly to parse TDM.
Encapsulation is one of simple card util's purpose.
These are cleanup for it.

Kuninori Morimoto (5):
  ASoC: simple-card-utils: add asoc_simple_card_of_parse_tdm()
  ASoC: simple-card: use asoc_simple_card_of_parse_tdm()
  ASoC: simple-scu-card: use asoc_simple_card_of_parse_tdm()
  ASoC: audio-graph-card: use asoc_simple_card_of_parse_tdm()
  ASoC: audio-graph-scu-card: use asoc_simple_card_of_parse_tdm()

 include/sound/simple_card_utils.h        |  6 ++++++
 sound/soc/generic/audio-graph-card.c     | 12 ++----------
 sound/soc/generic/audio-graph-scu-card.c |  6 +-----
 sound/soc/generic/simple-card.c          | 10 ++--------
 sound/soc/generic/simple-scu-card.c      |  6 +-----
 5 files changed, 12 insertions(+), 28 deletions(-)

-- 
1.9.1



More information about the Alsa-devel mailing list