OSDN Git Service

Merge series "ASoC: simple-card: cleanup and prepare for Multi CPU/Codec support...
authorMark Brown <broonie@kernel.org>
Wed, 31 Mar 2021 14:53:49 +0000 (15:53 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 31 Mar 2021 14:53:49 +0000 (15:53 +0100)
commit326b0037fd6b5fc5640f3d37c80b62e2b3329017
tree9249beb35343b61c8841f390709bbeffec01b21e
parente896ec390870287dcc92f3b46d80da88f3b4b1f8
parent39af7f7a03d007e5590f0b852b3f2fed9e703d0f
Merge series "ASoC: simple-card: cleanup and prepare for Multi CPU/Codec support" from Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>:

Hi Mark

I want to add new audio-graph-card2 driver which can support
not only DPCM, but also Multi-CPU/Codec, and Codec2Codec.
And it is also supporting user customization.

But before supporting such driver, we need to cleanup existing
simple-card / audio-graph, because these and new driver are
sharing code.

This patch-set are cleanup and prepare for Multi-CPU/Codec support.

Kuninori Morimoto (6):
  ASoC: simple-card-utils.c: remove old comment
  ASoC: simple-card-utils: alloc dai_link information for CPU/Codec/Platform
  ASoC: audio-graph: count DAI / link numbers as in order
  ASoC: audio-graph: cleanup graph_for_each_link()
  ASoC: simple-card: count DAI / link numbers as in order
  ASoC: simple-card: cleanup graph_for_each_link()

 include/sound/simple_card_utils.h     |   7 +-
 sound/soc/generic/audio-graph-card.c  | 112 +++++++++++++------------
 sound/soc/generic/simple-card-utils.c |  20 +++--
 sound/soc/generic/simple-card.c       | 115 +++++++++++++++-----------
 4 files changed, 143 insertions(+), 111 deletions(-)

--
2.25.1