audio: dai-zephyr: Do not reset the DMA buffer cursor for HD-DMA on T…
…RIGGER_RELEASE
During DMA stop/config/start the read/write pointer of HD-DMA is not reset unlike other DMAs (GPDMA, DMAC).
Only call the audio_stream_reset() if the link is not serviced by HD-DMA.
Link: https://github.com/thesofproject/sof/issues/8986 Fixes: 9831a9ded770 ("audio: dai-zephyr: reset DMA buffer cursors on TRIGGER_RELEASE")
imx build fail with error: 'alias_mask' not found ?
imx build fail with
error: 'alias_mask' not found?
Caused by https://github.com/zephyrproject-rtos/zephyr/pull/70219. Fix in https://github.com/thesofproject/sof/pull/8945
imx build fail with error: 'alias_mask' not found ?
only with the Zephyr main branch ("zmain"). Manifest build is fine: https://github.com/thesofproject/sof/actions/runs/8468096003/job/23200277967?pr=8995
@dbaluta, @LaurentiuM1234, should we move the call to stream_reset() where we call dma_config() ?
@dbaluta, @LaurentiuM1234, should we move the call to stream_reset() where we call dma_config() ?
You mean do it if there's no XRUN? Not sure if I can be of much help here as I've never messed around with the XRUN stuff :(
@dbaluta, @LaurentiuM1234, should we move the call to stream_reset() where we call dma_config() ?
You mean do it if there's no XRUN? Not sure if I can be of much help here as I've never messed around with the XRUN stuff :(
OK, let's leave it where it is and move it if needed.
https://github.com/thesofproject/sof/issues/9002 filed to track the follow-up. Merging the fix.