]> git.itanic.dy.fi Git - linux-stable/commit
ASoC: SOF: sof-audio: setup sched widgets during pipeline complete step
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Tue, 23 Nov 2021 17:16:04 +0000 (19:16 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 24 Nov 2021 12:57:23 +0000 (12:57 +0000)
commit01429183f479c54c1b5d15453a8ce574ea43e525
tree89f105f32f5ab32fb716434935371b3b54fb396d
parent65c16dd2942f4476a3f96a2625b1475c6137c09a
ASoC: SOF: sof-audio: setup sched widgets during pipeline complete step

Older firmware prior to ABI 3.19 has a dependency where the scheduler
widgets need to be setup last. Moving the call to sof_widget_setup()
before the pipeline_complete() call also helps remove the need for the
'reverse' direction when walking through the widget list - this was
only working because of the topology macros but the topology does not
require any order.

Fixes: 5fcdbb2d45df ("ASoC: SOF: Add support for dynamic pipelines")
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Link: https://lore.kernel.org/r/20211123171606.129350-1-kai.vehmanen@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/sof-audio.c