linux
linux copied to clipboard
ASoC: SOF: Intel: Make sure that link and host DMA is coupled after use
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.
Changes since v1:
- save the found hext_stream to use for the coupling
called
@ujfalusi what issue are we trying to fix with this PR?
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.
Changes since v2:
- rebased on sof-dev (fix conflict)
- rephrase the comment when coupling the HDA channel on stream_put()