diff options
author | Peter Ujfalusi <peter.ujfalusi@linux.intel.com> | 2024-04-17 10:58:04 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-04-17 23:01:01 +0900 |
commit | 9a039db9273b44427b3daca88173e57596545ec0 (patch) | |
tree | 65dad1184a598fdf88867fd3afcce7b395d6e3aa /arch/mips | |
parent | cebfbc89ae2552dbb58cd9b8206a5c8e0e6301e9 (diff) |
ASoC: SOF: Core: Handle error returned by sof_select_ipc_and_paths
The patch which fixed the missing remove_late() calls missed a case
when sof_select_ipc_and_paths() could return with error and in this
case sof_init_environment() would just return with 0.
Do not ignore the error code returned by sof_select_ipc_and_paths().
Fixes: 90f8917e7a15 ("ASoC: SOF: Core: Add remove_late() to sof_init_environment failure path")
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20240417075804.10829-1-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'arch/mips')
0 files changed, 0 insertions, 0 deletions