[PATCH v3 2/4] ASoC: fsl_asrc_m2m: Add option to start ASRC before DMA device for M2M

Daniel Baluta daniel.baluta at gmail.com
Tue Feb 3 19:35:27 AEDT 2026


On Tue, Feb 3, 2026 at 5:13 AM Shengjiu Wang <shengjiu.wang at nxp.com> wrote:
>
> There is a limitation on i.MX952 that dma request is not cleared at the
> end of conversion with dma slave mode. Which causes sample is dropped
> from the input fifo on the second time if dma is triggered before the
> client device and EDMA may copy wrong data from output fifo as the output
> fifo is not ready in the beginning.
>
> The solution is to trigger asrc before dma on i.MX952, and add delay to
> wait output data is generated then start the EDMA for output, otherwise
> the m2m function has noise issues.
>
> So add an option to start ASRC first for M2M before ASRC is enabled on
> i.MX952.
>
> Signed-off-by: Shengjiu Wang <shengjiu.wang at nxp.com>


Reviewed-by: Daniel Baluta <daniel.baluta at nxp.com>


More information about the Linuxppc-dev mailing list