linux icon indicating copy to clipboard operation
linux copied to clipboard

ASoC: SOF: Intel: Make sure that link and host DMA is coupled after use

Open ujfalusi opened this issue 4 months ago • 4 comments

Couple the Host and Link DMA when the stream is put. When the hda_dsp_stream_hw_free() is called the Link DMA might be still locked and we would leave the DMAs decoupled.

ujfalusi avatar Aug 27 '25 11:08 ujfalusi

Changes since v1:

  • save the found hext_stream to use for the coupling

ujfalusi avatar Aug 27 '25 11:08 ujfalusi

called

@ujfalusi what issue are we trying to fix with this PR?

ranj063 avatar Sep 09 '25 15:09 ranj063

called

@ujfalusi what issue are we trying to fix with this PR?

switching from DSP mode to DSPless mode (or to legacy HDA) does not work without rebooting the device because we leave random channels decoupled.

ujfalusi avatar Sep 09 '25 15:09 ujfalusi

Changes since v2:

  • rebased on sof-dev (fix conflict)
  • rephrase the comment when coupling the HDA channel on stream_put()

ujfalusi avatar Nov 17 '25 11:11 ujfalusi