linux/sound/soc
Cezary Rojewski f3fbb553f9
ASoC: Intel: avs: Disconnect substream if suspend or resume fails
To improve performance and overall system stability, suspend/resume
operations for ASoC cards always return success status and defer the
actual work.

Because of that, if a substream fails to resume, userspace may still
attempt to invoke commands on it as from their perspective the operation
completed successfully. Set substream's state to DISCONNECTED to ensure
no further commands are attempted.

Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com>
Link: https://lore.kernel.org/r/20221116115550.1100398-3-cezary.rojewski@intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2022-11-22 19:32:27 +00:00
..
adi
amd ASoC: amd: acp: Fix possible UAF in acp_dma_open 2022-11-18 11:50:29 +00:00
apple ASoC: apple: mca: Adjust timing of component unregister 2022-09-27 13:59:59 +01:00
atmel ASoC: mchp-spdiftx: add support for system suspend/resume 2022-11-18 11:57:06 +00:00
au1x
bcm ASoC: bcm2835-i2s: Switch to use dev_err_probe() helper 2022-09-14 15:06:00 +01:00
cirrus
codecs ASoC: nau8825: Add a manually mechanism for detection failure 2022-11-22 12:23:14 +00:00
dwc
fsl ASoC: fsl_micfil: Add support when using eDMA 2022-11-01 12:15:40 +00:00
generic ASoC: audio-graph-card2: remove Experimental announce 2022-11-11 17:26:52 +00:00
hisilicon
img ASoC: Refactor non_legacy_dai_naming flag 2022-06-29 16:58:08 +01:00
intel ASoC: Intel: avs: Disconnect substream if suspend or resume fails 2022-11-22 19:32:27 +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: codecs: da7219: Do not export da7219_aad_jack_det() 2022-11-10 17:50:21 +00:00
meson ASoC: meson: axg-pdm: Fix double word in comments 2022-10-19 12:04:28 +01:00
mxs
pxa ASoC: pxa: fix null-pointer dereference in filter() 2022-11-14 11:30:30 +00:00
qcom ASoC: qcom: q6prm: Correct module description 2022-11-11 17:26:51 +00:00
rockchip ASoC: rockchip: Drop da7219_aad_jack_det() usage 2022-11-07 13:58:16 +00:00
samsung ASoC: soc.h: remove num_cpus/codecs 2022-09-20 12:19:30 +01:00
sh ASoC: soc-dpcm.h: remove snd_soc_dpcm::hw_param 2022-10-19 13:05:34 +01:00
sof ASoC: SOF: probes: Check ops before memory allocation 2022-11-17 13:58:43 +00:00
spear
sprd
sti
stm Fix PM disable depth imbalance in stm32 probe 2022-09-27 19:58:57 +01:00
sunxi ASoC: sunxi: use devm_platform_get_and_ioremap_resource() 2022-11-14 11:30:31 +00:00
tegra ASoC: tegra: Fix spelling mistake "fliter" -> "filter" 2022-11-10 17:52:46 +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
ux500
xilinx ASoC: xilinx: Suppress second error message about reset failure in .remove() 2022-07-05 16:44:31 +01:00
xtensa
Kconfig ASoC: apple: mca: Start new platform driver 2022-08-25 13:51:34 +01:00
Makefile ASoC: apple: mca: Start new platform driver 2022-08-25 13:51:34 +01:00
soc-ac97.c ASoC: Variable type completion 2022-08-17 13:00:27 +01:00
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: core: Exit all links before removing their components 2022-11-18 15:38:27 +00:00
soc-dai.c ASoC: Change handling of unimplemented set_bclk_ratio 2022-08-19 13:19:59 +01:00
soc-dapm.c ASoC: soc-dapm.c random cleanups 2022-10-19 17:38:59 +01: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
soc-pcm.c ASoC: soc-dpcm.h: remove snd_soc_dpcm::hw_param 2022-10-19 13:05:34 +01:00
soc-topology-test.c
soc-topology.c ASoC: soc-core.c: setup rtd->pmdown_time at soc_new_pcm_runtime() 2022-09-19 17:52:41 +01:00
soc-utils-test.c ASoC: soc-utils-test: Add test for snd_soc_params_to_bclk() 2022-08-17 15:19:14 +01:00
soc-utils.c ASoC: soc-utils: Remove __exit for snd_soc_util_exit() 2022-10-31 14:08:05 +00:00