[alsa-devel] [PATCH v3 0/7] topology: Add support for vendor tuples

mengdong.lin at linux.intel.com mengdong.lin at linux.intel.com
Thu Apr 7 09:27:20 CEST 2016


From: Mengdong Lin <mengdong.lin at linux.intel.com>

This series addes support for vendor tuples to topology, to avoid
importing binary data blob from other files.

Backward compatibility of ABI is not impacted. A kernel patch is also
submitted "ASoC: topology: ABI - Define types for vendor tuples".

The 1st patch is small code cleanup.
The 2nd patch is a preparation, since tuples will need the type-specific
free handler.

History:
v2: add check on string length, use strtol() to get hex value,
    and fix memory leak.
v3: Fix overflow on uuid string copy. Use strtoul() to get unsigned
    vendor values and check range, tested on 32 & 64 bit systems.

Mengdong Lin (7):
  topology: Use the generic pointer to free an element's object
  topology: Define a free handler for the element
  topology: Add doc for vendor tuples
  topology: ABI - Define types for vendor tuples
  topology: Add support for vendor tokens
  topology: Add support for parsing vendor tuples
  topology: Build data objects with tuples

 include/sound/asoc.h      |  42 +++-
 include/topology.h        |  79 +++++++-
 src/topology/data.c       | 503 +++++++++++++++++++++++++++++++++++++++++++++-
 src/topology/elem.c       |  15 +-
 src/topology/parser.c     |  24 +++
 src/topology/tplg_local.h |  47 +++++
 6 files changed, 702 insertions(+), 8 deletions(-)

-- 
2.5.0



More information about the Alsa-devel mailing list