]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: topology: Check return value of soc_tplg_create_tlv
authorAmadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Fri, 27 Mar 2020 20:47:25 +0000 (16:47 -0400)
committerMark Brown <broonie@kernel.org>
Thu, 9 Apr 2020 11:46:04 +0000 (12:46 +0100)
commit48818fe6c29c6299c7b0e239b4e08f4bf3e7e6f0
tree8bba5e57572bf8f9e1100fadd7d84ff2ba845a74
parent89abd1d4a1674a5b707a3071d4994ae6270d605b
ASoC: topology: Check return value of soc_tplg_create_tlv

Function soc_tplg_create_tlv can fail, so we should check if it succeded
or not and proceed appropriately.

Signed-off-by: Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20200327204729.397-3-amadeuszx.slawinski@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/soc-topology.c