Skip to content

topology: complete PCM parsing and code refactoring

[email protected] alsa-devel 2 versions – Applied

Status from this message: Applied all six patches now. Thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest6 patches 1 replyApplied
  2. v16 patches 5 repliesSuperseded

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/6topology: Set manifest size for ABIsrc/topology/parser.c+2 -00 replies
2/6topology: Refactor functions to parse and build streamssrc/topology/parser.c src/topology/pcm.c src/topology/tplg_local.h+36 -280 replies
3/6topology: Use generic pointer to realloc buffer for private datasrc/topology/data.c+9 -170 replies
4/6topology: Fix pcm ID & name parsinginclude/sound/asoc.h src/topology/pcm.c+4 -40 replies
5/6topology: Parse front-end DAI name and ID for the PCMinclude/topology.h src/topology/pcm.c+57 -00 replies
6/6topology: Update PCM configurations in Broadwell text conf filesrc/conf/topology/broadwell/broadwell.conf+25 -90 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/6] topology: complete PCM parsing and code refactoring

From: Mengdong Lin <[email protected]>

There is no ABI change in this series.

This series fixes bugs and missing info of PCM (Front-end DAI & DAI link) defined by the text conf file.

There is also some code refactoring, as a preparation for Back-end DAI support and ABI update which is under internal test and review atm.

History:
v2: Fix memory leak on realloc failure. The original obj pointer is reserved
and so it can be freed at last by tplg_elem_free().

Mengdong Lin (6):
topology: Set manifest size for ABI
topology: Refactor functions to parse and build streams
topology: Use generic pointer to realloc buffer for private data
topology: Fix pcm ID & name parsing
topology: Parse front-end DAI name and ID for the PCM
topology: Update PCM configurations in Broadwell text conf file

 include/sound/asoc.h                       |   2 +-
 include/topology.h                         |   4 +
 src/conf/topology/broadwell/broadwell.conf |  34 ++++++---
 src/topology/data.c                        |  26 +++----
 src/topology/parser.c                      |   4 +-
 src/topology/pcm.c                         | 119 ++++++++++++++++++++++-------
 src/topology/tplg_local.h                  |   2 +-
 7 files changed, 133 insertions(+), 58 deletions(-)
Signature · 1 line
2.5.0