OSDN Git Service

ASoC: SOF: topology: return error if sof_connect_dai_widget() fails
authorRanjani Sridharan <ranjani.sridharan@linux.intel.com>
Mon, 4 Oct 2021 21:27:29 +0000 (16:27 -0500)
committerMark Brown <broonie@kernel.org>
Tue, 5 Oct 2021 12:09:56 +0000 (13:09 +0100)
commit4a23076987476337085ae04b923bc39deec34643
tree1355ac35229d2c072854602392aebd2f2682f920
parentea6bfbbe3ea83861bab034538e36becb16eef20b
ASoC: SOF: topology: return error if sof_connect_dai_widget() fails

Return the error if sof_connect_dai_widget() fails to
abort topology loading and prevent card registration.

Reviewed-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20211004212729.199550-4-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/topology.c