]> git.alsa-project.org Git - alsa-lib.git/commit
topology: Fix the missing referenced elem ptr when merging private data
authorMengdong Lin <mengdong.lin@linux.intel.com>
Fri, 22 Jul 2016 05:12:54 +0000 (13:12 +0800)
committerTakashi Iwai <tiwai@suse.de>
Mon, 25 Jul 2016 09:55:35 +0000 (11:55 +0200)
commit98a0a2a98ffca4ed929c34d322c8389816a5e8a8
treebcd2fb5350b9f1f9b90f6844acbd1421c9ed186b
parent776eb7fa5e705d46ac2cac517cdb69dc6c7d8f56
topology: Fix the missing referenced elem ptr when merging private data

tplg_copy_data() should set the valid referenced data element pointer
on success. The caller will double check this pointer for all kinds of
references, including controls and data.

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