ASoC: SOF: set swidget's core for scheduler widget
authorRanjani Sridharan <ranjani.sridharan@linux.intel.com>
Mon, 7 Mar 2022 18:10:56 +0000 (10:10 -0800)
committerMark Brown <broonie@kernel.org>
Tue, 8 Mar 2022 12:27:41 +0000 (12:27 +0000)
commit3a790f3a7c283d94325a85ac6ee4d1458e89b645
tree37817096999f82a469307071d60f0603c22e3881
parent80df2226268f039326f9daebd25047cf15e22497
ASoC: SOF: set swidget's core for scheduler widget

Set the swidget's core for scheduler type widgets to match that of the
pipeline core. This simplifies the flow for core get/put during widget
setup/free.

Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20220307181111.49392-4-ranjani.sridharan@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/sof-audio.c
sound/soc/sof/topology.c