diff options
author | Peter Ujfalusi <peter.ujfalusi@linux.intel.com> | 2022-11-07 12:04:33 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-11-07 16:58:02 +0300 |
commit | 3d59eaef49ca2db581156a7b77c9afc0546eefc0 (patch) | |
tree | 3b447de1e5201d038f6594d7e295744554ac3625 /include/linux/ipc_namespace.h | |
parent | 314d34fe7f0a5836cb0472950c1f17744b4efde8 (diff) | |
download | linux-3d59eaef49ca2db581156a7b77c9afc0546eefc0.tar.xz |
ASoC: SOF: topology: No need to assign core ID if token parsing failed
Move the return value check before attempting to assign the core ID to the
swidget since we are going to fail the sof_widget_ready() and free up
swidget anyways.
Fixes: 909dadf21aae ("ASoC: SOF: topology: Make DAI widget parsing IPC agnostic")
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Link: https://lore.kernel.org/r/20221107090433.5146-1-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/linux/ipc_namespace.h')
0 files changed, 0 insertions, 0 deletions