]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: topology: Check return value of soc_tplg_*_create
authorAmadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Fri, 27 Mar 2020 20:47:26 +0000 (16:47 -0400)
committerMark Brown <broonie@kernel.org>
Thu, 9 Apr 2020 11:46:05 +0000 (12:46 +0100)
commit76d52b82e5dee60047dfd6c9108de86b4eac16d6
tree4c7008772c61c60e8a3fb592518291d6a6ad78e6
parentba7610be84f0b52feb99b4e25170ef9609586734
ASoC: topology: Check return value of soc_tplg_*_create

Functions soc_tplg_denum_create, soc_tplg_dmixer_create,
soc_tplg_dbytes_create can fail, so their return values should be
checked and error should be propagated.

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-4-amadeuszx.slawinski@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/soc-topology.c