]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: SOF: topology: fix the process being scheduled on core0 always
authorKeyon Jie <yang.jie@linux.intel.com>
Mon, 21 Sep 2020 10:45:44 +0000 (13:45 +0300)
committerMark Brown <broonie@kernel.org>
Mon, 21 Sep 2020 16:28:08 +0000 (17:28 +0100)
commita4dc8dff3794d605bd56dd6506dd03c991618892
treedc8e6fc2cc1b18c4a84d022574a3648edfe66b0b
parent7544c19c332054442b9e2e74c3108a81c524e108
ASoC: SOF: topology: fix the process being scheduled on core0 always

In commit 18b05d9a7535 ("ASoC: SOF: append extended data to
sof_ipc_comp_process") the process components are set to run on the
fixed core 0, this break us from scheduling components on any other DSP
core.

Since we can get the DSP core index from swidget->core, it is duplicated
to pass the extra 'core' argument for those sof_widget_load_xx()
functions.

Here removes the duplicate 'core' argument and get component core from
swidget->core directly to fix the issue mentioned above.

Fixes: 18b05d9a7535 ("ASoC: SOF: append extended data to sof_ipc_comp_process")
Signed-off-by: Keyon Jie <yang.jie@linux.intel.com>
Reviewed-by: Jaska Uimonen <jaska.uimonen@intel.com>
Reviewed-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Link: https://lore.kernel.org/r/20200921104544.2897112-1-kai.vehmanen@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/topology.c