Skip to content
Snippets Groups Projects
Commit 3dae70fb authored by Peter Ujfalusi's avatar Peter Ujfalusi Committed by Oleksii Kutuzov
Browse files

UPSTREAM: 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: 909dadf2 ("ASoC: SOF: topology: Make DAI widget parsing IPC agnostic")

Change-Id: Icc3402fb2d48e852089ac2e4bcf0597d4ef74584
Signed-off-by: default avatarPeter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: default avatarPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: default avatarRanjani Sridharan <ranjani.sridharan@linux.intel.com>
Link: https://lore.kernel.org/r/20221107090433.5146-1-peter.ujfalusi@linux.intel.com


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 1e494b49
No related branches found
No related tags found
1 merge request!13[UPSTREAM] Add Audio-related patches from Mediatek's Release 24.0
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment