alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/7] topology: Add support for vendor tuples
@ 2016-04-07  7:27 mengdong.lin
  2016-04-07  7:28 ` [PATCH v3 1/7] topology: Use the generic pointer to free an element's object mengdong.lin
                   ` (7 more replies)
  0 siblings, 8 replies; 11+ messages in thread
From: mengdong.lin @ 2016-04-07  7:27 UTC (permalink / raw)
  To: alsa-devel, broonie
  Cc: Mengdong Lin, tiwai, mengdong.lin, vinod.koul, rakesh.a.ughreja,
	liam.r.girdwood, hardik.t.shah, subhransu.s.prusty

From: Mengdong Lin <mengdong.lin@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

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2016-04-07 14:58 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-07  7:27 [PATCH v3 0/7] topology: Add support for vendor tuples mengdong.lin
2016-04-07  7:28 ` [PATCH v3 1/7] topology: Use the generic pointer to free an element's object mengdong.lin
2016-04-07  7:29 ` [PATCH v3 2/7] topology: Define a free handler for the element mengdong.lin
2016-04-07  7:29 ` [PATCH v3 3/7] topology: Add doc for vendor tuples mengdong.lin
2016-04-07  7:29 ` [PATCH v3 4/7] topology: ABI - Define types " mengdong.lin
2016-04-07  7:29 ` [PATCH v3 5/7] topology: Add support for vendor tokens mengdong.lin
2016-04-07  7:29 ` [PATCH v3 6/7] topology: Add support for parsing vendor tuples mengdong.lin
2016-04-07  7:29 ` [PATCH v3 7/7] topology: Build data objects with tuples mengdong.lin
2016-04-07  9:22 ` [PATCH v3 0/7] topology: Add support for vendor tuples Takashi Iwai
2016-04-07 14:33   ` Lin, Mengdong
2016-04-07 14:58     ` Takashi Iwai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).