OSDN Git Service

topology: Allow a data section to contain multiple tuples objects
authorMengdong Lin <mengdong.lin@linux.intel.com>
Thu, 27 Apr 2017 06:46:00 +0000 (14:46 +0800)
committerTakashi Iwai <tiwai@suse.de>
Thu, 27 Apr 2017 06:48:45 +0000 (08:48 +0200)
commit0b8b6bb7d81d4c280dbfc174a9940ec8ee121b3e
treeef9e7a0850b1ac6629aaf5f5f6d7cfcee3770898
parent1cb217ead9aff029f194208bf484be1ba956b194
topology: Allow a data section to contain multiple tuples objects

It's easy to use a vendor tuples object to define a C structure instance as
vendor specific parameter for kernel drivers. And sometimes the kernel drivers
may want a group of structures. So this patch will allow user to define multiple
vendor tuples objects in a data section, to avoid defining multiple data
sections and each data section only has 1 vendor tuples object.

There is no ABI change in this patch.

Signed-off-by: Mengdong Lin <mengdong.lin@linux.intel.com>
Signed-off-by: Fuwei Tang <fuweix.tang@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/topology.h
src/topology/data.c