linux/sound/soc
Peter Ujfalusi 251a2b1185
ASoC: SOF: ipc4-pcm: Do not run the trigger pipelines if no spipe is stored
If the pipeline setup fails at the first widget/pipeline then we will have
no spipe stored under the pipeline_list->pipelines, the
pipeline_list->count is 0.

If this is the case we would have a NULL pointer dereference if the
execution is allowed to proceed.

Check for this condition along with the pipeline_list->pipelines check

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Link: https://lore.kernel.org/r/20230127120031.10709-19-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2023-01-27 12:14:13 +00:00
..
adi
amd ASoC: Merge up 6.2 fixes 2023-01-18 15:33:51 +00:00
apple ASoC: apple: mca: Adjust timing of component unregister 2022-09-27 13:59:59 +01:00
atmel ASoC: microchip: power saving features and cleanups 2022-12-27 12:56:08 +00:00
au1x
bcm
cirrus
codecs ASoC: codecs: wsa88xx: remove unneeded includes 2023-01-25 12:38:41 +00:00
dwc
fsl ASoC: Merge up 6.2 fixes 2023-01-18 15:33:51 +00:00
generic ASoC: audio-graph-card: fix refcount leak of cpu_ep in __graph_for_each_link() 2022-12-07 14:19:12 +00:00
hisilicon
img
intel ASoC: Intel: avs: Simplify probe-component implementation 2023-01-23 13:31:01 +00:00
jz4740 ASoC: jz4740-i2s: Remove .set_sysclk() 2022-10-31 13:20:14 +00:00
kirkwood ASoC: kirkwood: enable Kirkwood driver for Armada 38x platforms 2022-10-17 12:48:28 +01:00
mediatek ASoC: mediatek: mt8188: remove some dead code 2023-01-26 17:06:33 +00:00
meson ASoC: meson: axg-pdm: Fix double word in comments 2022-10-19 12:04:28 +01:00
mxs
pxa ASoC: PXA: make SND_PXA2XX_SOC_AC97 user-selectable 2023-01-12 18:37:18 +00:00
qcom ASoC: qcom: lpass-platform: Use SNDRV_DMA_TYPE_NONCOHERENT page allocation 2023-01-25 14:24:02 +00:00
rockchip ASoC: Kconfig: fix spelling of "up to" 2023-01-25 14:24:03 +00:00
samsung ASoC: samsung: i2s: add support for FSD I2S 2023-01-17 13:16:04 +00:00
sh ASoC: rsnd: adg: use __clk_get_name() instead of local clk_name[] 2022-11-28 13:04:33 +00:00
sof ASoC: SOF: ipc4-pcm: Do not run the trigger pipelines if no spipe is stored 2023-01-27 12:14:13 +00:00
spear
sprd
sti
stm ASoC: stm32: i2s: remove irqf_oneshot flag 2022-11-10 17:50:52 +00:00
sunxi ASoC: sunxi: use devm_platform_get_and_ioremap_resource() 2022-11-14 11:30:31 +00:00
tegra ASoC: Kconfig: fix spelling of "up to" 2023-01-25 14:24:03 +00:00
ti ASoC: ti: davinci-mcasp: Use DIV_ROUND_UP() instead of open-coding it 2022-10-17 12:48:23 +01:00
uniphier ASoC: uniphier: aio-core: Make some read-only arrays static const 2022-12-05 14:05:40 +00:00
ux500 ASoC: ux500: remove stedma40 references 2023-01-20 12:05:57 +00:00
xilinx
xtensa
Kconfig
Makefile
soc-ac97.c
soc-acpi.c
soc-card.c
soc-component.c Revert "ASoC: soc-component: using pm_runtime_resume_and_get instead of pm_runtime_get_sync" 2022-10-04 14:09:30 +01:00
soc-compress.c ASoC: soc.h: remove num_cpus/codecs 2022-09-20 12:19:30 +01:00
soc-core.c ASoC: Merge up fixes 2022-11-29 12:55:51 +00:00
soc-dai.c ASoC: soc-dai: Do not call snd_soc_link_be_hw_params_fixup() twice 2022-11-23 11:10:43 +00:00
soc-dapm.c ASoC: Merge up fixes 2022-11-29 12:55:51 +00:00
soc-devres.c
soc-generic-dmaengine-pcm.c ASoC: soc.h: remove num_cpus/codecs 2022-09-20 12:19:30 +01:00
soc-jack.c
soc-link.c
soc-ops.c ASoC: ops: Correct bounds check for second channel on SX controls 2022-11-25 16:29:33 +00:00
soc-pcm.c ASoC: soc-pcm: Export widget_in_list() 2023-01-27 12:13:59 +00:00
soc-topology-test.c
soc-topology.c
soc-utils-test.c
soc-utils.c ASoC: soc-utils: Remove __exit for snd_soc_util_exit() 2022-11-07 13:37:04 +00:00