]> 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)
commitdbdb132d4f0d6503f4ad86d503de135832b05c98
treedc8e6fc2cc1b18c4a84d022574a3648edfe66b0b
parent5d80eeddaab2314f5029954ff4e4b19555851e17
ASoC: SOF: topology: fix the process being scheduled on core0 always

In commit 7292a5d586f9 ("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: 7292a5d586f9 ("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