ASoC: fsl_sai: Enable 'FIFO continue on error' FCONT bit
authorShengjiu Wang <shengjiu.wang@nxp.com>
Mon, 30 Sep 2024 06:08:28 +0000 (14:08 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 30 Sep 2024 22:30:32 +0000 (23:30 +0100)
commit72455e33173c1a00c0ce93d2b0198eb45d5f4195
treeed51be3d2f77293c902745005d096ef083b614c2
parenta36614bf88cd4b43984f24fd960c7aa0e43b5fb7
ASoC: fsl_sai: Enable 'FIFO continue on error' FCONT bit

FCONT=1 means On FIFO error, the SAI will continue from the
same word that caused the FIFO error to set after the FIFO
warning flag has been cleared.

Set FCONT bit in control register to avoid the channel swap
issue after SAI xrun.

Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Link: https://patch.msgid.link/1727676508-22830-1-git-send-email-shengjiu.wang@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/fsl/fsl_sai.c
sound/soc/fsl/fsl_sai.h