The code on SOF side should not have conditional logic based on DAI type . The DAI interface should abstract the pause/resume behaviour so that SOF side code should be uniform.
Core in question
if (!(dd->dai->dma_caps & DMA_CAP_HDA))
audio_stream_reset(&dd->dma_buffer->stream);
Describe the bug Follow-up to https://github.com/thesofproject/sof/pull/8995
The code on SOF side should not have conditional logic based on DAI type . The DAI interface should abstract the pause/resume behaviour so that SOF side code should be uniform.
Core in question