]> www.infradead.org Git - users/dwmw2/linux.git/commit
ASoC: SOF: ipc4-pcm: Do not reset ChainDMA if it is
authorMark Brown <broonie@kernel.org>
Tue, 9 Apr 2024 22:26:25 +0000 (23:26 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 9 Apr 2024 22:26:25 +0000 (23:26 +0100)
commitf23e8f3ad3ea739be006459df4ed4e7b3f5242e6
tree7fd4708f2610893bdd606ca448af559b57b41058
parenta93830a9e0eb0f8fb151a3f74cd537b0a95ab353
parent7211814f2adcf376b8db6321447a9725c33b6ae7
ASoC: SOF: ipc4-pcm: Do not reset ChainDMA if it is

Merge series from Peter Ujfalusi <peter.ujfalusi@linux.intel.com>:

The current code will reset the ChainDMA on release unconditionally which
can result the following error when the CHainDMA is not allocated:

ipc tx      : 0xe040000|0x0: GLB_CHAIN_DMA
ipc tx reply: 0x2e000007|0x0: GLB_CHAIN_DMA
FW reported error: 7 - Unsupported operation requested
ipc error for msg 0xe040000|0x0
sof_pcm_stream_free: pcm_ops hw_free failed -22

Background:
Pulseaudio and Pipewire on startup opens all available streams and
closes them without triggering a start (after probing it's capabilities).