aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/sof/ipc3.c
diff options
context:
space:
mode:
authorRanjani Sridharan <ranjani.sridharan@linux.intel.com>2022-03-17 10:50:27 -0700
committerMark Brown <broonie@kernel.org>2022-03-18 16:04:35 +0000
commit051744b1bf0b13f63af5de3c296d04ab0cc6117c (patch)
tree7b0e5b3453713d67e2faa2bf12521fc928497ab0 /sound/soc/sof/ipc3.c
parentASoC: SOF: set up scheduler widget before all other widgets in the pipeline (diff)
downloadlinux-dev-051744b1bf0b13f63af5de3c296d04ab0cc6117c.tar.xz
linux-dev-051744b1bf0b13f63af5de3c296d04ab0cc6117c.zip
ASoC: SOF: Make sof_widget_setup/free IPC agnostic
Add 3 new topology IPC ops for widget_setup, widget_free and dai_config in order to make the pipeline management code IPC agnostic and implement the ops for IPC3. Use the newly introduced tplg dai_config op to configure the DAI during BE DAI hw_params and hw_free. Also, in preparation for IPC4, modify BE hw_params callback to skip setting up the DAI widget. All widgets will be set up during FW hw_params and the DAI_CONFIG IPC should be sent only if the widget use_count is > 0. With setting up/freeing removed from the BE hw_params, remove the configured flag as it is no longer needed. Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com> Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com> Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com> Link: https://lore.kernel.org/r/20220317175044.1752400-3-ranjani.sridharan@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/sof/ipc3.c')
0 files changed, 0 insertions, 0 deletions