ASoC: fsl_micfil: explicitly clear software reset bit
authorShengjiu Wang <shengjiu.wang@nxp.com>
Sat, 7 May 2022 12:14:13 +0000 (20:14 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 19 Dec 2022 11:36:40 +0000 (12:36 +0100)
commitafac1e7d78eba52c1aa0bb496509f795e545ea82
tree26085d00e5226d9b0c4cc091bd6d089c9e301ad9
parent9d933af8fef33c32799b9f2d3ff6bf58a63d7f24
ASoC: fsl_micfil: explicitly clear software reset bit

[ Upstream commit 292709b9cf3ba470af94b62c9bb60284cc581b79 ]

SRES is self-cleared bit, but REG_MICFIL_CTRL1 is defined as
non volatile register, it still remain in regmap cache after set,
then every update of REG_MICFIL_CTRL1, software reset happens.
to avoid this, clear it explicitly.

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