]> git.ipfire.org Git - thirdparty/linux.git/commit
ASoC: topology: Check return value of pcm_new_ver
authorAmadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Fri, 27 Mar 2020 20:47:28 +0000 (16:47 -0400)
committerMark Brown <broonie@kernel.org>
Thu, 9 Apr 2020 11:46:07 +0000 (12:46 +0100)
commitb3677fc3d68dd942c92de52f0bd9dd8b472a40e6
tree3555ff63a3f458bceb2fc318ae77c845373d02f3
parent6856e887eae3efc0fe56899cb3f969fe063171c5
ASoC: topology: Check return value of pcm_new_ver

Function pcm_new_ver can fail, so we should check it's return value and
handle possible error.

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