summaryrefslogtreecommitdiffstats
path: root/drivers/platform
diff options
context:
space:
mode:
authorMengdong Lin <mengdong.lin@linux.intel.com>2016-11-02 18:02:59 +0100
committerMark Brown <broonie@kernel.org>2016-11-03 17:27:57 +0100
commit8f27c4abc2cd7a31adb896a6b4861cdcb921d063 (patch)
tree72dae1a29c26cd3fceb2b9c4c004d380dc727787 /drivers/platform
parentASoC: topology: Make PCM backward compatible from ABI v4 (diff)
downloadlinux-8f27c4abc2cd7a31adb896a6b4861cdcb921d063.tar.xz
linux-8f27c4abc2cd7a31adb896a6b4861cdcb921d063.zip
ASoC: topology: Only use valid names of PCM for the kernel DAI & DAI link
User space may not always set a valid FE DAI driver's name, FE DAI link's name, stream name or cpu DAI name. In such cases, there are all ZERO in these name string buffers of a topology PCM object. This patch will only duplicate valid name strings for kernel FE DAI driver and DAI link when creating them from topology, and free the name strings when destroying them. Signed-off-by: Mengdong Lin <mengdong.lin@linux.intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/platform')
0 files changed, 0 insertions, 0 deletions