summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorLiam Girdwood <liam.r.girdwood@linux.intel.com>2018-03-27 14:04:04 +0300
committerMark Brown <broonie@kernel.org>2018-03-27 15:40:00 +0300
commit267e2c6fd7ca3d4076d20f9d52d49dc91addfe9d (patch)
tree048d9e381f475eab432585753f3e412ac779768f /samples
parent7928b2cbe55b2a410a0f5c1f154610059c57b1b2 (diff)
downloadlinux-267e2c6fd7ca3d4076d20f9d52d49dc91addfe9d.tar.xz
ASoC: topology: Fix kcontrol name string handling
Fix the topology kcontrol string handling so that string pointer references are strdup()ed instead of being copied. This fixes issues with kcontrol templates on the stack or ones that are freed. Remember and free the strings too when topology is unloaded. Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com> Signed-off-by: Mark Brown <broonie@kernel.org> Cc: stable@vger.kernel.org
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions