[PATCH 0/6] ASoC: audio-graph-card2.c: make Codec2Codec settings optional

Kuninori Morimoto kuninori.morimoto.gx at renesas.com
Fri Jul 1 07:17:51 CEST 2022


Hi Mark

Audio Graph Card2 has Codec2Codec support, but I noticed
 - Current Codec2Codec setting value is not correct
   because it is using of_get_property().
 - simple-card-utils has default Codec2Codec settings
   and it is overwriting Card2 settings
 - This default settings works for non Codec2Codec case
   (= DPCM::BE case) too.

This patch-set solve these issues.

Kuninori Morimoto (6):
  ASoC: audio-graph-card2.c: use of_property_read_u32() for rate
  ASoC: audio-graph-card2.c: make Codec2Codec settings optional
  ASoC: audio-graph-card2.c: remove pre-alloced Codec2Codec space
  ASoC: audio-graph-card2-custom-sample.dtsi: add verbose explanation
  ASoC: simple-card-utils.c: ignore Codec2Codec setting if it already have
  ASoC: simple-card-utils.c: care Codec2Codec vs DPCM:BE

 include/sound/simple_card_utils.h             |   3 -
 .../audio-graph-card2-custom-sample.dtsi      | 101 ++++++++++++++++--
 sound/soc/generic/audio-graph-card2.c         |  39 ++++---
 sound/soc/generic/simple-card-utils.c         |  26 ++---
 4 files changed, 126 insertions(+), 43 deletions(-)

-- 
2.25.1



More information about the Alsa-devel mailing list