[PATCH 0/4] ASoC: SOF: ipc4-pcm: Do not reset ChainDMA if it is not allocated

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hi,

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).

Regards,
Peter
---
Peter Ujfalusi (4):
  ASoC: SOF: ipc4-pcm: Use consistent name for snd_sof_pcm_stream
    pointer
  ASoC: SOF: ipc4-pcm: Use consistent name for sof_ipc4_timestamp_info
    pointer
  ASoC: SOF: ipc4-pcm: Introduce generic sof_ipc4_pcm_stream_priv
  ASoC: SOF: ipc4-pcm: Do not reset the ChainDMA if it has not been
    allocated

 sound/soc/sof/ipc4-pcm.c | 115 +++++++++++++++++++++++++++------------
 1 file changed, 79 insertions(+), 36 deletions(-)

-- 
2.44.0





[Index of Archives]     [Pulseaudio]     [Linux Audio Users]     [ALSA Devel]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux