ASoC: topology: Check name strings of physical DAI links
authorMengdong Lin <mengdong.lin@linux.intel.com>
Sat, 5 Nov 2016 00:42:14 +0000 (08:42 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 9 Nov 2016 14:46:04 +0000 (14:46 +0000)
commitdbab1cb88e84813254091d0d02ab83d9929e6a27
treef2f9a99c720511f0d17dacd73537e462d3400b41
parent6ff67ccafdf4c782489de1ccc47e1ec8d8480b63
ASoC: topology: Check name strings of physical DAI links

Check if the name strings are properly terminated, and only use valid
name strings to find existing physical DAI links to configure.

Signed-off-by: Mengdong Lin <mengdong.lin@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/soc-topology.c