2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2025-01-20 19:43:58 +08:00
linux-next/sound/soc/sof
Ranjani Sridharan 40c2c63ac4
ASoC: SOF: set up scheduler widget before all other widgets in the pipeline
For dynamic pipelines, We set up the DAI widget during BE DAI hw_params
and this results in it getting set up before the scheduler widget for the
pipeline it belongs to is set up. Move the scheduler widget set up into
sof_widget_setup() to ensure that the scheduler widget is always the first
widget in a pipeline to be set up and the last one to get freed after all
the other widgets have been freed.

Fixes: 5fcdbb2d45 ('ASoC: SOF: Add support for dynamic pipelines')

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>
Link: https://lore.kernel.org/r/20220317175044.1752400-2-ranjani.sridharan@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2022-03-18 16:04:34 +00:00
..
amd ASoC: SOF: Make pcm_hw_params snd_sof_dsp_ops callback IPC neutral 2022-03-11 13:41:01 +00:00
imx ASoC: SOF: imx: Convert to use the generic set_stream_data_offset ops 2022-03-11 13:41:08 +00:00
intel Make the SOF pcm_hw_params DSP op IPC agnostic 2022-03-11 20:21:12 +00:00
mediatek ASoC: SOF: OF: Avoid reverse module dependency 2021-12-15 14:02:50 +00:00
xtensa ASoC: SOF: dsp_arch_ops: add kernel log level parameter for oops and stack 2021-12-23 13:38:25 +00:00
compress.c ASoC: SOF: compress: fix null check after dereference 2022-03-11 13:40:54 +00:00
control.c ASoC: SOF: topology: Make control parsing IPC agnostic 2022-03-16 16:39:11 +00:00
core.c ASoC: SOF: Introduce struct snd_sof_dai_link 2022-03-16 16:38:54 +00:00
debug.c ASoC: SOF: debug: clarify operator precedence 2022-03-07 13:12:54 +00:00
iomem-utils.c ASoC: SOF: Split up utils.c into sof-utils and iomem-utils 2022-02-10 15:19:04 +00:00
ipc3-topology.c ASoC: SOF: topology: remove snd_sof_complete_pipeline() 2022-03-16 16:39:14 +00:00
ipc.c ASoC: SOF: topology: Make control parsing IPC agnostic 2022-03-16 16:39:11 +00:00
Kconfig ASoC: SOF: Convert the generic probe support to SOF client 2022-02-10 15:19:12 +00:00
loader.c ASoC: SOF: Set SOF_FW_BOOT_FAILED in case we have failure during boot 2021-12-23 13:38:20 +00:00
Makefile ASoC: SOF: Introduce IPC3 ops 2022-03-16 16:38:58 +00:00
nocodec.c ASOC: SOF: simplify nocodec mode 2021-04-12 17:05:55 +01:00
ops.c ASoC: SOF: ops: Always print DSP Panic message but use different message 2021-12-23 13:38:24 +00:00
ops.h ASoC: SOF: Remove ipc_pcm_params() ops 2022-03-11 13:41:09 +00:00
pcm.c ASoC: SOF: Remove ipc_pcm_params() ops 2022-03-11 13:41:09 +00:00
pm.c ASoC: SOF: sof-client: Add support for clients not managed by pm framework 2022-02-10 15:19:07 +00:00
sof-acpi-dev.c ASoC: SOF: Check desc->ops directly in acpi/pci/of probe functions 2021-05-21 13:13:35 +01:00
sof-acpi-dev.h ASoC: SOF: ACPI: avoid reverse module dependency 2021-03-02 15:31:40 +01:00
sof-audio.c ASoC: SOF: set up scheduler widget before all other widgets in the pipeline 2022-03-18 16:04:34 +00:00
sof-audio.h ASoC: SOF: topology: remove snd_sof_complete_pipeline() 2022-03-16 16:39:14 +00:00
sof-client-ipc-flood-test.c ASoC: SOF: Convert the generic IPC flood test into SOF client 2022-02-10 15:19:09 +00:00
sof-client-ipc-msg-injector.c ASoC: SOF: ipc-msg-injector: Use devm_kzalloc() for the rx_buffer 2022-03-09 17:34:59 +00:00
sof-client-probes.c ASoC: SOF: Convert the generic probe support to SOF client 2022-02-10 15:19:12 +00:00
sof-client-probes.h ASoC: SOF: Convert the generic probe support to SOF client 2022-02-10 15:19:12 +00:00
sof-client.c ASoC: SOF: Convert the generic IPC message injector into SOF client 2022-02-10 15:19:10 +00:00
sof-client.h ASoC: SOF: Introduce IPC SOF client support 2022-02-10 15:19:06 +00:00
sof-of-dev.c ASoC: SOF: OF: Avoid reverse module dependency 2021-12-15 14:02:50 +00:00
sof-of-dev.h ASoC: SOF: OF: Avoid reverse module dependency 2021-12-15 14:02:50 +00:00
sof-pci-dev.c ASoC: SOF: Intel: add topology overwrite for Taniks 2022-03-11 13:40:56 +00:00
sof-pci-dev.h ASoC: SOF: pci: split PCI into different drivers 2021-03-02 15:32:00 +01:00
sof-priv.h ASoC: SOF: Introduce IPC3 ops 2022-03-16 16:38:58 +00:00
sof-utils.c ASoC: SOF: Split up utils.c into sof-utils and iomem-utils 2022-02-10 15:19:04 +00:00
sof-utils.h ASoC: SOF: Split up utils.c into sof-utils and iomem-utils 2022-02-10 15:19:04 +00:00
stream-ipc.c ASoC: SOF: Remove ipc_pcm_params() ops 2022-03-11 13:41:09 +00:00
topology.c ASoC: SOF: topology: Use kmemdup() to replace kzalloc + memcpy 2022-03-17 17:56:33 +00:00
trace.c ASoC: SOF: trace: Use proper DMA direction for the trace data buffer 2022-03-11 13:40:55 +00:00