Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
board: intel_adsp_ace15_mtpm: Drop CONFIG_DMA_DW_SUSPEND_DRAIN
The purpose of CONFIG_DMA_DW_SUSPEND_DRAIN is to empty the FIFO before disabling the channel by draining it. Since the peripheral is disabled before the DMA (CONFIG_COMP_DAI_STOP_TRIGGER_ORDER_REVERSE is not selected), the DMA will not be able to do that causing drain timeout. The stop is used in two cases: Stream stop: the content of the FIFO does not matter as we stop the stream. Pause/resume: On pause the DMA is suspended (DW_CFGL_SUSPEND bit set) On resume the DMA is stopped, re-configured and then started again instead of resuming The peripheral is started after the DMA stop and start. Leftover audio data might cause audio glitch on resume, it is probably better to disable the draining. Note: if we want to have draining enabled we need to select the CONFIG_COMP_DAI_STOP_TRIGGER_ORDER_REVERSE at the same time to force the DMA to be stopped before the DAI. Signed-off-by: Peter Ujfalusi <[email protected]>
- Loading branch information