ASoC: fsl_sai: replace regmap_write with regmap_update_bits
authorShengjiu Wang <shengjiu.wang@nxp.com>
Thu, 7 Aug 2025 02:03:18 +0000 (10:03 +0800)
committerMark Brown <broonie@kernel.org>
Sun, 10 Aug 2025 20:06:41 +0000 (21:06 +0100)
commit0e270f32975fd21874185ba53653630dd40bf560
treed9d026d0286624e13368760b524086f3973e565d
parent8f5ae30d69d7543eee0d70083daf4de8fe15d585
ASoC: fsl_sai: replace regmap_write with regmap_update_bits

Use the regmap_write() for software reset in fsl_sai_config_disable would
cause the FSL_SAI_CSR_BCE bit to be cleared. Refer to
commit 197c53c8ecb34 ("ASoC: fsl_sai: Don't disable bitclock for i.MX8MP")
FSL_SAI_CSR_BCE should not be cleared. So need to use regmap_update_bits()
instead of regmap_write() for these bit operations.

Fixes: dc78f7e59169d ("ASoC: fsl_sai: Force a software reset when starting in consumer mode")
Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Link: https://patch.msgid.link/20250807020318.2143219-1-shengjiu.wang@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/fsl/fsl_sai.c