]> git.hungrycats.org Git - linux/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 1 Nov 2024 01:02:33 +0000 (02:02 +0100)
commit02068866e948a6caa720689031de7e2b0a9985b9
tree26079f3a3403445a008cb23c95acbe8d37374672
parent0da613dcddb85642f8a4a321d62f75311339f226
ASoC: fsl_sai: Enable 'FIFO continue on error' FCONT bit

[ Upstream commit 72455e33173c1a00c0ce93d2b0198eb45d5f4195 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
sound/soc/fsl/fsl_sai.c
sound/soc/fsl/fsl_sai.h