ASoC: fsl_micfil: explicitly clear CHnF flags
authorShengjiu Wang <shengjiu.wang@nxp.com>
Sat, 7 May 2022 12:14:14 +0000 (20:14 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 19 Dec 2022 11:27:31 +0000 (12:27 +0100)
commit344739dc56f1b3e33e6a3170b89731d450455df6
tree68ba501968bee32950bd569ab4b039b5f7d2f22c
parenta49c1a7307752ed5e371373f4db6a426857d4eed
ASoC: fsl_micfil: explicitly clear CHnF flags

[ Upstream commit b776c4a4618ec1b5219d494c423dc142f23c4e8f ]

There may be failure when start 1 channel recording after
8 channels recording. The reason is that the CHnF
flags are not cleared successfully by software reset.

This issue is triggerred by the change of clearing
software reset bit.

CHnF flags are write 1 clear bits. Clear them by force
write.

Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Link: https://lore.kernel.org/r/1651925654-32060-2-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_micfil.c