]> git.alsa-project.org Git - alsa-utils.git/commit
topology: pre-process-object: Add support for pre-process objects with no builder
authorRanjani Sridharan <ranjani.sridharan@linux.intel.com>
Fri, 11 Jun 2021 06:51:58 +0000 (23:51 -0700)
committerJaroslav Kysela <perex@perex.cz>
Mon, 23 Aug 2021 14:49:56 +0000 (16:49 +0200)
commit48ebb1dc0c507eb90c3509aeacddbd4deaabde91
tree520e9e1a1f56442be8f58505474cde1e55ce3b52
parentb848786f421d8cf65b75c9165f91d65453b9be3a
topology: pre-process-object: Add support for pre-process objects with no builder

Some objects just need tobe processed to add their attributes
to the private data section of their parent objects.
An example of this would be the pdm_config objects for
DMIC DAI's. Each pdm_config object's attributes need
to be added as separate arrays in the DAI object's
private data.

Modify the signature of tplg_add_object_data() to pass
the array_name parameter when multiple objects of the
same type in the same parent are processed.

Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
topology/pre-process-object.c