]> www.infradead.org Git - nvme.git/commitdiff
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)
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).


Trivial merge