[alsa-devel] [PATCH v2 00/15] ASoC: use snd_soc_dai_link_component style for simple card

Kuninori Morimoto kuninori.morimoto.gx at renesas.com
Fri Aug 31 05:07:37 CEST 2018


Hi Mark

These are v2 patch of snd_soc_dai_link_component style conversion
for simple/audo card driver.
The difference between v1 and v2 was "platform series" was missing
code for DT, and tidyuped unreadable code.

	[current]
	struct snd_soc_dai_link {
		...
		*cpu_name;
		*cpu_of_node;
		*cpu_dai_name;

		*codec_name;
		*codec_of_node;
		*codec_dai_name;
		*codecs;
		num_codecs;

		*platform_name;
		*platform_of_node;
		...
	}

	[we want]
	struct snd_soc_dai_link {
		...
		*cpus
		num_cpus;

		*codecs;
		num_codecs;

		*platform;
		...
	}

Kuninori Morimoto (15):
  ASoC: simple_card_utils: support snd_soc_dai_link_component style for codec
  ASoC: simple-card: support snd_soc_dai_link_component style for codec
  ASoC: simple-scu-card: use simple_dai_props
  ASoC: simple-scu-card: support snd_soc_dai_link_component style for codec
  ASoC: audio-graph-card: support snd_soc_dai_link_component style for codec
  ASoC: audio-graph-scu-card: use simple_dai_props
  ASoC: audio-graph-scu-card: support snd_soc_dai_link_component style for codec
  ASoC: simple-card-util: remove dai_link compatible code for codec
  ASoC: soc-core: use snd_soc_dai_link_component for platform
  ASoC: simple-card-util: support snd_soc_dai_link_component style for platform
  ASoC: simple-card: support snd_soc_dai_link_component style for platform
  ASoC: simple-scu-card: support snd_soc_dai_link_component style for platform
  ASoC: audio-graph-card: support snd_soc_dai_link_component style for platform
  ASoC: audio-graph-scu-card: support snd_soc_dai_link_component style for platform
  ASoC: simple-card-util: remove dai_link compatible code for platform

 include/sound/simple_card_utils.h        | 27 ++++++++++------
 include/sound/soc.h                      |  2 ++
 sound/soc/generic/audio-graph-card.c     | 18 +++++++++--
 sound/soc/generic/audio-graph-scu-card.c | 55 +++++++++++++++++++++-----------
 sound/soc/generic/simple-card-utils.c    | 47 ++++++++++++++++++++++++---
 sound/soc/generic/simple-card.c          | 30 ++++++++++++++---
 sound/soc/generic/simple-scu-card.c      | 54 ++++++++++++++++++++-----------
 sound/soc/soc-core.c                     | 48 ++++++++++++++++++++++++----
 8 files changed, 217 insertions(+), 64 deletions(-)

-- 
2.7.4



More information about the Alsa-devel mailing list